// dlg.txt

begintalkscript;

variables;

begintalknode 1;
	state = -1;
	nextstate = -1;
	condition = get_sdf(60,4) == 0 && gf(100,23) == 0;
	question = "special";
	text1 = "At last, you enter the Gazaki-Uss, the subterranean city of the drakons. It is a massive place, almost overpowering. Only frequent exposure to the mighty cities of the Shapers keeps you from being filled with awe.";
	text2 = "The first thing you notice is how hot it is. The drakons must like heat. They are doing something to keep this place a humid inferno. It immediately makes you feel a little faint.";
	text3 = "The drakons like it. The humans and serviles you see on guard, on the other hand, look miserable.";
	text4 = "You also see that this place was recently constructed. The huge stone blocks lack the moss, wear, and stains that come from centuries of occupation. The drakons made this place recently and quickly, to provide a command center.";
	text5 = "This is currently the heart of the rebellion, the center of rebel power and leadership. You can feel the might of the drakons weighing down upon you.";
	action = SET_SDF 60 4 1;
	code =
		if (gf(100,23) > 0) {
			rs(3); rs(5);
			}
	break;
	
begintalknode 2;
	state = -1;
	nextstate = -1;
	condition = get_sdf(60,5) == 0 && gf(100,23) == 0;
	question = "special";
	text1 = "You step into Ghaldring's hall. In the center, Ghaldring is waiting for you. He is one of the oldest drakons. He is almost definitely the most powerful.";
	text2 = "He is taller than most of his kind, and he has been augmented many times. His scales are smooth and flawless. They almost seem to gleam. His cold eyes betray no emotion you recognize."; 
	text3 = "He stands here, in his home, surrounded by a ring of defensive pylons. If this is a trap and he means you ill, you have little chance of surviving a confrontation with him.";
	text4 = "When he sees you, he smiles, showing two rows of razor-sharp, white teeth. His voice is so deep and loud that you can feel it in your chest. _You made it. At last. I have been curious. Step forward. Let me evaluate you._";
	action = SET_SDF 60 5 1;

begintalknode 3;
	state = -1;
	nextstate = -1;
	condition = get_sdf(60,6) == 0 && gf(100,23) == 0;
	question = "special";
	text1 = "This section of Gazaki-Uss is slightly cooler than the other areas. It seems to have been provided for the rest and recuperation of non-drakon visitors. Truly a rare concession for the drakons to make.";
	text2 = "There has been a crude effort to make a garden, and there are smooth, dark pools for peaceful meditation and reflection.";
	text3 = "As you enter, you find that it is very quiet. You must be the only visitor staying here now. That will probably make your wait more peaceful.";
	action = SET_SDF 60 6 1;

begintalknode 4;
	state = -1;
	nextstate = -1;
	condition = get_sdf(60,7) == 0;
	question = "special";
	text1 = "You approach the entrance to the Gazaki-Uss laboratories. If the nearby obelisk is to be believed, the drakons do not welcome any outsiders exploring them.";
	text2 = "Proceeding in this direction without permission could be very dangerous.";
	action = SET_SDF 60 7 1;

begintalknode 5;
	state = -1;
	nextstate = -1;
	condition = get_sdf(60,8) == 0 && gf(100,23) == 0;
	question = "special";
	text1 = "You are just outside the power core for this section of Gazaki-Uss. The door is locked, and a nearby crystal flashes red. On the other side, you can hear the machinery pulsing loudly, pumping waves of heat out into the fortress.";
	text2 = "As you try to decide where else to explore, you hear a chiming sound. The warning crystal begins to flicker red. You hear a click from the door.";
	text3 = "It appears that you can try to sneak through the power core. Experience tells you what a tricky maneuver this can be. Especially if someone in Gazaki-Uss has it in for you.";
	action = SET_SDF 60 8 1;
	code =
		sf(60,25,1);
	break;

begintalknode 6; 
	state = -1;
	nextstate = -1;
	condition = gf(60,2) == 0 && gf(100,5) < 2 && gf(100,23) == 0;
	question = "special";
	text1 = "You manage to slip far enough into the laboratory to see what the drakons are doing here.";
	text2 = "There are two Shaping platforms here, surrounded by powerful machinery. The air crackles with concentrated magic. A lesser being would not be able to stand being here. You find it invigorating.";
	text3 = "There are two Unbound here, standing on the platforms. They are motionless. A nearby table is covered with notes and sketches. The drakons aren't making Unbound. They're studying them.";
	text4 = "There is only one reason they would be doing this. They are creating the next generation. Unbound even more powerful, more crazed. The Shapers would pay dearly to learn about this.";
	action = SET_SDF 60 2 1;
	code =
		if (gf(60,9) >= 10)
			rs(1);
	break;
	
begintalknode 7;
	state = -1;
	nextstate = -1;
	condition = 1;
	text1 = "Suddenly, the door behind you slams shut. The heating core's brief period of inactivity has ended.";
	text2 = "The air immediately starts to grow hotter. The pads of glowing stones around the central core begin to glow. The area near the crystal is about to become very hot indeed.";

begintalknode 8;
	state = -1;
	nextstate = -1;
	condition = 1;
	text1 = "The power crystal in the center lets out its first pulse of heat. A less augmented person would be incinerated. You survive, but even your heavily altered body won't be able to take this indefinitely.";

begintalknode 9;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "At last, you hear another chiming sound. Clicks come from the exit doors. The pylon is still sending out punishing waves of heat, but they are less intense than they were.";
	text2 = "You might be able to escape now. You wonder what happened here. Maybe you just had a bit of bad luck. Or maybe someone tried to kill you.";

begintalknode 10;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "Unfortunately, you have angered the drakons deep in their own fortress. Gazaki-Uss has many sections, each full of huge, powerful drakons.";
	text2 = "The entrance gate to the west slides shut. Soon afterward, drakons pour into the complex. You fight bravely. Many of them fall. But, in the end, you run out of essence. Soon after that, you succumb to the horde.";
	text3 = "At least you killed Ghaldring. For that, you are remembered as a hero for centuries to come ...";
	code =
		if (gf(101,10) == 0)
			rs(3);
		erase_char(1000);
	break;

begintalknode 11;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "You nervously approach the enormous Unbound. It doesn't react to you. It is in its pre-active phase. The Unbound are quiet and docile until they are given their final command and released. Then they are uncontrollable.";
	text2 = "This skin of this specimen is covered with small pits, where samples of flesh have been removed.";

begintalknode 12;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "One of the workers in this laboratory has seen you. You are very much not supposed to be here. Ghaldring's suspicions that you are actually a Shaper spy have been confirmed.";
	text2 = "Within moments, an alarm has been raised. Your welcome in Gazaki-Uss has come to a quick end.";

begintalknode 13; // warning obelisk
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The obelisk says:";
	text2 = "  LABORATORY - ONLY DRAKONS AND SERVANTS OF GHALDRING - ANY OTHER WILL BE ASSUMED A SPY";

begintalknode 14; // grevaes tips
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "This is a Shaper's laboratory journal, looted from some ruined town and brought here.";
	text2 = "Fire has scorched most of the pages, but one intact section seems interesting:";
	text3 = "_Greaves are the tool of the battlefield, not the laboratory. When a Guardian or Agent strides onto the field of war to defend Shaper honor, he or she needs equipment that supports the use of magic. Perfected greaves are most useful._";
	text4 = "_Greaves can be lined with the skin of an ur-drakon. This gives the wearer solidity and binds him to the earth. Application of solidified flame, on the other hand, lends power to the appropriate spells._";
	text5 = "_Both substances, one after the other, can give a greater effect. Of course, order matters._";
	text6 = "_I have heard that there are other components that can augment such a pair of greaves. Too much magic makes the item unstable, however. Generally, one such piece of armor can only sustain two improvements._";

begintalknode 15;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The obelisk says:";
	text2 = "  POWER CORE - DO NOT ENTER WHEN POWER IS ACTIVE";
	
begintalknode 16;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "There are several serviles working in this laboratory. They aren't simple servants. They are mages and alchemists in their own right.";
	text2 = "You try to talk to them, but they ignore you. One of them mutters, _See Saakash. She insists on talking to visitors._";

begintalknode 17;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The drakons keeping guard here are, unsurprisingly, far too arrogant to spend time talking to the likes of you. They simply wave you by.";
	text2 = "That seems a little rude, considering the effort you've been putting into their cause.";
	code =
		if (gf(100,5) < 2)
			rs(2);
	break;

begintalknode 18;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "You encounter one of the fierce, tribal serviles. The sort with the fasting, the scars and tattoos, and the pathological hatred of anything that even seems tainted by exposure to the Shapers.";
	text2 = "Unsurprisingly, they turn away the moment you get close. Oh well. At least they've gotten over the habit of attacking outsiders on sight.";

begintalknode 19;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "Some visitors to Gazaki-Uss come with their own creations. One of those creatures is stabled here. They aren't very interesting.";

begintalknode 20;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "You interrupt a quiet conversation between two drakons. This one turns away when you approach her. The other looks more likely to speak with you, if only to curse you.";

begintalknode 21;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "You sleep well. At first.";
	text2 = "Then something wakes you up. It's not a sound. Everything is exactly as it was when you went to bed, except for one thing.";
	text3 = "Creations. You detect their presence. There are some of them nearby. Powerful ones.";
	text4 = "You quietly grab your gear, preparing to sneak out and see what's happening. But then you hear a loud shout. _Visitors! Come out now! Ghaldring demands that you face me!_";
	text5 = "Sounds like a drakon. So much for stealth or subtlety.";
	
begintalknode 22;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The drakon is surprised that he is not doing better in this battle. He expected to have defeated you by now.";
	text2 = "He says, _Ghaldring thought that I would lose, but I am more clever than that old lizard. I came prepared. Alliesss! Attack!_";


begintalknode 23;
	state = -1;
	nextstate = -1;
	condition = 1;
	text1 = "This box is full of the broken flasks, flawed crystals, and other junk that tends to accumulate in working laboratories. Too nice to throw away. Too useless for any reasonable purpose.";
	text2 = "At the bottom of the box, however, you do find something interesting. It's a tarnished copper key with a 'C' etched into the side. A note tied to it says, _Repository?_";
	code =
		if (gf(59,18) == 0) {
			sf(59,18,1);
			set_spec_item(42,1);
			}
			else rs(2);
	break;

// trigger CS

begintalknode 25;
	state = -1;
	nextstate = 25;
	condition = 1;
	question = "";
	text1 = "You have found your quarters. It is a small, stone quarter-dome that sticks out of the northwest corner of this cavern. Looking inside, it seems comfortable enough.";
	text2 = "And yet, who knows what might happen in this treacherous place while you sleep. Are you prepared enough for your meeting with Ghaldring?";
	code =
		sf(60,28,2);
	break;
	
begintalknode 26;
	state = 25;
	nextstate = -1;
	condition = 1;
	question = "Don't rest yet.";
	text1 = "You decide to explore a bit more. There is still some time left before your meeting.";
	action = END_TALK;
	
begintalknode 27;
	state = 25;
	nextstate = -1;
	condition = 1;
	question = "Rest for the night.";
	text1 = "You enter your quarters. After your exhausting journey through the wasteland, you eagerly await a restful sleep.";
	action = END_TALK;
	code =
		
		sf(60,17,1);
	break;

begintalknode 28;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "Khressia collapses to the floor. Thick, crimson blood oozes from his many wounds. As he stares up at the ceiling, he only says one thing. _Salassar ... I wasss a fool ... I ..._";
	text2 = "And then he is dead. You have defeated your challenger. Hopefully, Ghaldring will be suitably impressed.";
	
//

begintalknode 30;
	state = -1;
	nextstate = 30;
	condition = 1;
	question = "Name";
	text1 = "You are Ghaldring's guest. You're also at his mercy. You might as well walk out and see what his envoy wants. It is an old drakon, worn and battle-scarred. He is waiting for you, flanked by a pair of kyshakks.";
	text2 = "You recognize him. It is Khressia, the angry drakon that insulted you the day before. _We meet again, little creature. I have asked Ghaldring to be able to challenge you. Ghaldring has agreed._";
	text3 = "The drakons says, _I am Khressia. I have asked Ghaldring to be able to challenge you. Ghaldring has agreed._";
	code =
		if (gf(60,10) == 0)
			rs(2);
			else rs(3);
	break;

begintalknode 31;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "Challenge? As in a duel?";
	text1 = "_A duel is a matter of honor. To drakons, your kind has no honor. I only wanted to test you. Defeating you will give all of usss information and give me glory._";

begintalknode 32;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "What sort of challenge?";
	text1 = "_Hsssss. A battle, if you do not yield. I will kill you, or you will kill me. If you win, you live to see Ghaldring. If I win, I devour you and add your wealth to my hoard._";

begintalknode 33;
	state = 30;
	nextstate = 31;
	condition = 1;
	question = "So how does this proceed?";
	text1 = "_Ahssss ... First, I give you the chance to yield to me. If you do, all see that I have humbled the envoy of the Shapersss. Glory for me! Humiliation for your kind._";
	text2 = "_So. Will you save your life by admitting that you are a weakling and that drakonsss are superior to your kind?_";

begintalknode 34;
	state = 31;
	nextstate = -1;
	condition = 1;
	question = "Sure. I am weak. Drakons are superior to my kind.";
	text1 = "Khressia is stunned. _What sort of low creature are you? Hasss your kind no courage? No pride? No wonder we have defeated you so far, and we will defeat you still._";
	text2 = "He chuckles. _You have brought me glory. Ghaldring will be furiousss. I will leave now. You may go where you want. I have all I need from you._";
	text3 = "The drakon and his pets turn and leave. You wonder what all that was about.";
	action = END_TALK;
	code =
		sf(60,16,1);
	break;
	
begintalknode 35;
	state = 31;
	nextstate = 32;
	condition = 1;
	question = "I will say no such thing.";
	text1 = "Khressia nods. _Ghaldring told me you would not be so weak. He told me much when he urged this challenge._";
	text2 = "As the drakon speaks, you hear footsteps. Someone is sneaking into position all around you. They try to be quiet, but you easily hear the jingling of their chainmail.";
	text3 = "_There are no more formalitiesss. Now we fight. I give you a moment for any final words or prayersss._";
	
begintalknode 36;
	state = 32;
	nextstate = -1;
	condition = get_stat(20) < 6;
	question = "Is there someone else here to aid you?";
	text1 = "The massive drakon smirks but says nothing else.";

begintalknode 37;
	state = 32;
	nextstate = -1;
	condition = get_stat(20) >= 6;
	question = "And, if you are so mighty, why do you need to sneak in allies to keep you alive?";
	text1 = "You put in your voice exactly the right level of derision. The drakon is furious. He also knows that you are right.";
	text2 = "_Leave us,_ he says to someone out of sight. _I do not need your help with this puny creature._ You hear the hidden figures move away.";
	code =
		erase_char(1007);
	break;
	
begintalknode 38;
	state = 32;
	nextstate = 33;
	condition = get_stat(20) >= 8;
	question = "Wait. Ghaldring goaded you into attacking me?";
	text1 = "The creature did not expect this. _What ... Why do you ask?_";

begintalknode 39;
	state = 32;
	nextstate = -1;
	condition = 1;
	question = "Please don't hurt me. I beg you.";
	text1 = "The drakon shakes his head. _I am under no more obligation to show mercy to you. You had your chance._";

begintalknode 40;
	state = 32;
	nextstate = -1;
	condition = 1;
	question = "All right. Let's fight.";
	text1 = "_Yesssss ... Kyshakksss, attack! I will show Ghaldring how powerful I am!_";
	action = END_TALK;
	
begintalknode 41;
	state = 33;
	nextstate = 34;
	condition = 1;
	question = "Just wondering. Surprised it's not your idea, is all.";
	text1 = "_It wasss my idea! Ghaldring wasss ignoring my wisdom before the Conclave, as alwaysss, and I told him that one of my strength and glory should not be dismissed so!_";
	text2 = "_Then he asked how I had proven my strength, and I told him. And he said it was not enough, in his eyesss. I said I could think of no way to add to my victoriesss over Shapersss ..._";

begintalknode 42;
	state = 34;
	nextstate = -1;
	condition = 1;
	question = "And he suggested fighting me.";
	text1 = "_To test you. I wasss the one who said I would kill you. And I shall!_";

begintalknode 43;
	state = 34;
	nextstate = -1;
	condition = 1;
	question = "Ghaldring is only trying to get you killed to get you out of the way.";
	text1 = "The drakon nods. This idea was occurring to him too. _Perhapsss. That is Ghaldring'sss cunning. But now I am here. The challenge is made. The fight must take place._";

begintalknode 44;
	state = 34;
	nextstate = 35;
	condition = get_stat(20) >= 9;
	question = "And has Ghaldring ever done this before?";
	text1 = "_Hasss ... Hasss ..._ He thinks for a moment. Then he remembers something. He looks furious. _Salassar! He was gulled in exactly the same way! You would kill me. With some trick. I have made an error._";
	text2 = "_But I will withstand it. I will face the dishonor. I will prove myself again, in my own way, and make Ghaldring pay._";

begintalknode 45;
	state = 35;
	nextstate = -1;
	condition = 1;
	question = "Salassar?";
	text1 = "_Another enemy of Ghaldring, eliminated in the same way. Different year, different fortress, same trick._";
begintalknode 46;
	state = 35;
	nextstate = -1;
	condition = 1;
	question = "Actually, I think I will kill you.";
	text1 = "_Yesss ... It is a fair payment for my foolishnessss. I am ready. Kyshakksss, attack! I will show Ghaldring how powerful I am after all!_";
	action = END_TALK;
begintalknode 47;
	state = 35;
	nextstate = -1;
	condition = 1;
	question = "You'd best get going then.";
	text1 = "_Yesss. You have been spared for now, but know thisss. Crossss me again, and I will slay you._ Khressia turns and leads his kyshakks away.";
	action = END_TALK;
	code =
		sf(60,16,3);
	break;
	
begintalknode 48;
	state = 34;
	nextstate = -1;
	condition = 1;
	question = "Then we must fight.";
	text1 = "_Yessss. I think I have been tricked. Ghaldring is more cunning than all the rest. But I have made my challenge. I must suffer the consequencesss. Kyshakksss, attack! I will show Ghaldring how powerful I am after all!_";
	action = END_TALK;

	
//

begintalknode 50;
	state = -1;
	nextstate = 50;
	condition = 1;
	question = "Commander Elysia";
	text1 = "There is a loyalist soldier here. An outsider, not a Shaper, but she is watching over a large group of powerful creations. She shouts at them and constantly cracks a whip, trying to restrain them from surging into Gazaki-Uss.";
	text2 = "She looks at you and recognizes you. _Ah ... you are here. I am Commander Elysia. Say when you are ready, and I will send some of them in. We will need to reinforce them, though. They will get carved up otherwise._";
	text5 = "Commander Elysia is waiting by the gate, ready to begin an assault. _You are here. Excellent. Say when you are ready for the attack._";
	action = INTRO;

begintalknode 51;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "Are these all the creations you have here?";
	text1 = "_These are all that survived the mess outside. I don't think that we will get more soon. We need to hit the drakons before they build more defenses. With your help, we can crack through._";

	
begintalknode 52;
	state = 50;
	nextstate = 51;
	condition = gf(59,23) == 0;
	question = "You won't be sending all the creations in?";
	text1 = "_My orders are to leave a few back here to hold the gate. The rest will attack. You and I will have to fight beside them to help them break through._";
	
begintalknode 53;
	state = 51;
	nextstate = 50;
	condition = get_stat(20) < 10;
	question = "You need to ignore that order. I need all the creations you can send.";
	text1 = "She shakes her head. _I want to survive this war. Ignoring the order of a Shaper because an outsider said otherwise isn't a good way to do that._";
	text2 = "_Anything else before we attack?_";
	
begintalknode 54;
	state = 51;
	nextstate = 50;
	condition = get_stat(20) >= 10;
	question = "You need to ignore that order. I need all the creations you can send.";
	text1 = "She shakes her head. _Ignoring the order of a Shaper because an outsider said otherwise isn't ... isn't wise._ She says it weakly. The confidence of your tone has shaken her.";
	text2 = "Soon, you are able to convince her to change her plans. _It is probably my head, but I believe you. We need to press ahead. I will send all the creations._";
	code =
		sf(59,23,1);
	break;
	
begintalknode 55;
	state = 51;
	nextstate = 50;
	condition = 1;
	question = "All right.";
	text1 = "She nods. _It might not be the wisest course, but it's a Shaper order. We must obey._";
	
begintalknode 56;
	state = 50;
	nextstate = 52;
	condition = 1;
	question = "I am ready to begin the assault.";
	text1 = "_Are you sure? Will you be able to support us? We can't go if you aren't._";
	text2 = "";
	
begintalknode 57;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "Just wait here for now.";
	text1 = "_All right. But hurry. We can't hold out here for too long._";
	action = END_TALK;
	
begintalknode 58;
	state = 52;
	nextstate = -1;
	condition = 1;
	question = "I am ready. Go.";
	text1 = "At last, Elysia gives the order to her eager creations. With a mighty roar, they charge, looking for rogues to slay.";
	action = END_TALK;
	code =
		sf(59,22,1);
	break;
	
begintalknode 59;
	state = 52;
	nextstate = -1;
	condition = 1;
	question = "I'm not ready yet.";
	text1 = "_All right. But hurry. We can't hold out here for too long._";
	action = END_TALK;


// GHALD 1

begintalknode 63;
	state = -1;
	nextstate = 70;
	condition = 1;
	question = "Name";
	text1 = "As you approach Ghaldring, you start to feel faint. He is so huge, so charged with power, that the urge to cower and snivel is almost overpowering.";
	text2 = "But this is a trick you are familiar with. Shapers long ago learned that projecting a little bit of power does wonders for intimidating the outsiders. You stand up straight and ignore it as best you can.";
	text3 = "Ghaldring inspects you closely. There is a long pause while he examines you, your equipment, the way you carry yourself. He nods. _So this is the toy the Shapers are squabbling over. But not a toy. A tool. And a useful one._";
	text4 = "_I am Ghaldring, mightiest of drakons, master of the rebellion, lord of Gazaki-Uss. And I have summoned you here._";
	text5 = "Ghaldring continues to watch you silently. You start to feel nervous, almost naked, although this is just another bit of mental trickery.";
	text6 = "The hum from the pylons around you is starting to be distracting. Ghaldring is creating little mental illusions. The power in the pylons is very real.";
	action = INTRO;

begintalknode 64;
	state = 70;
	nextstate = 71;
	condition = gf(60,9) == 0;
	question = "Why have you called me here?";
	text1 = "_I wanted to send a message. It is to be taken to General Alwan. And, since I had heard about you, I requested for you to come fetch the message. To see what the fuss was about. Two purposes in one act._";
	text2 = "You watch Ghaldring closely, trying to determine what he really wants from you. Or, for that matter, if he knows who you are. The drakon's eyes betray nothing.";

begintalknode 65;
	state = 71;
	nextstate = -1;
	condition = 1;
	question = "How did you hear about me?";
	text1 = "_A powerful, unidentified Shaper, coming from out of nowhere and acting as an unallied agent? This attracts gossip. We have learned, time and time again, that even a single Shaper can have a great effect on the world._";

begintalknode 66;
	state = 71;
	nextstate = 72;
	condition = 1;
	question = "What is the message?";
	text1 = "Ghaldring ignores the question. He looks at one of the defensive pylons and asks, absent-mindedly, _There has been a lot of gossip. Rumor. I am curious._";
	text2 = "_You have had time to wander Terrestia. To rebuild some of your psyche._ How did he know about your memory? _To judge what you have seen._";
	text3 = "_Where do your sympathies fall? With the Shapers? Or with the rebels?_";

begintalknode 67;
	state = 72;
	nextstate = 73;
	condition = 1;
	question = "I am a loyal servant of the Shapers.";
	text1 = "Ghaldring nods. _You humans stick with your own. Why make the effort to aid other sorts of life?_";
	text2 = "Ghaldring nods. _Unusual, considering you are a servile. But the Shapers have bought stronger souls than you with power and wealth._";
	text3 = "_Still, a closer look at us might show the power of our army. And the justice of our cause ..._ His voice trails off. He is considering something.";
	code =
		inc_flag(100,0,3);
		sf(60,9,1);
		sf(60,22,1);
		if (creature_type(pc_num()) == 46) 
			rs(1);
			else rs(2);
	break;
	
begintalknode 68;
	state = 72;
	nextstate = 73;
	condition = 1;
	question = "I have come to sympathize with the rebels.";
	text1 = "_Many Shapers have done the same. When they looked at the world with fresh eyes, they saw that they had not created a place they wanted to live in._";
	text2 = "_I wondered if you would be able to see the justice of our cause. And, now that I do ..._ His voice trails off. He is considering something.";
	code =
		inc_flag(100,0,-3);
		sf(60,9,1);
		sf(60,22,1);
	break;

begintalknode 69;
	state = 72;
	nextstate = 73;
	condition = 1;
	question = "I still have not decided.";
	text1 = "_Not decided? Or have you just managed to keep from seeing the truth until now? The Shaper way is not just, and it is not sustainable. Put this rebellion down, and you merely plant the seeds for another._";
	text2 = "_But then, a closer look at us might show the power of our army. And the justice of our cause ..._ His voice trails off. He is considering something.";
	code =
		sf(60,9,1);
		sf(60,22,1);
	break;

begintalknode 70;
	state = 72;
	nextstate = 73;
	condition = 1;
	question = "I will not answer. I only want the message.";
	text1 = "_You are so determined to merely do the bidding of Alwan? You ignore what you see around you? Free creations, living in harmony and peace?_";
	text2 = "_You will not look. But you need to. A closer look at us might show the power of our army. And the justice of our cause ..._ His voice trails off. He is considering something.";
	code =
		sf(60,9,1);
		sf(60,22,1);
	break;

begintalknode 71;
	state = 73;
	nextstate = 74;
	condition = 1;
	question = "What is it?";
	text1 = "_I have come to a decision. Alas, you must stay with us for a time longer._ You notice how crisp Ghaldring's speech is. There is no trace of a lisp. He also seems far less arrogant and bloodthirsty than many describe him. And yet ...";
	text2 = "_I apologize, but my message for Alwan is not yet complete. It will be soon. We have guest quarters. It will be more comfortable to one of your kind._ He waves to the northwest.";
	text3 = "_Go there. Return tomorrow. I will be ready to speak with you then._";
	
begintalknode 72;
	state = 74;
	nextstate = -1;
	condition = 1;
	question = "There is something else I need to know.";
	text1 = "_And there is plenty of time to talk tomorrow. Go now. I must consider the words of my message carefully._ He waves you away. You decide that it would be unwise to irritate him.";
	action = END_TALK;
	
begintalknode 73;
	state = 74;
	nextstate = -1;
	condition = 1;
	question = "All right. (Leave.)";
	text1 = "Ghaldring says nothing as you walk away. The creature is lost in thought.";
	action = END_TALK;
	
begintalknode 74;
	state = 70;
	nextstate = -1;
	condition = gf(60,9) > 0;
	question = "I need to speak with you.";
	text1 = "You can sense his irritation. The room grows warmer. _I told you clearly. There is plenty of time to talk tomorrow. Go now._ He waves you away. You decide that it would be unwise to irritate him.";
	action = END_TALK;


// GHALD 2

begintalknode 77;
	state = -1;
	nextstate = 77;
	condition = 1;
	question = "Name";
	text1 = "You return to Ghaldring's chamber. The drakon is not surprised to see you. He is as calm and pleasant as he was the day before. Nothing in his mood reflects that he sent someone to try to kill you.";
	text2 = "_The test has been survived. Interesting. The qualities were described to me accurately. There is a lot of skill here._ You realize that he is describing you as if you were a lab specimen. His eyes are as cold as always.";
	text3 = "_But, I would be sure. One more test, I think. A simple, straightforward battle. I want to see its performance personally._";
	code =
		sf(60,9,4);
	break;
	
begintalknode 78;
	state = 77;
	nextstate = -1;
	condition = 1;
	question = "You are testing me?";
	text1 = "Ghaldring says, to you this time, _Of course. I wanted you here for two reasons. To see you, and to have you deliver a message. You will have the message soon. Now I am examining you._";

begintalknode 79;
	state = 77;
	nextstate = -1;
	condition = get_stat(20) < 8;
	question = "I will not be tested like this.";
	text1 = "_You are in Gazaki-Uss. You will undergo whatever ordeal I choose to prove your worth._";

begintalknode 80;
	state = 77;
	nextstate = -1;
	condition = get_stat(20) >= 8;
	question = "Test me if you want, but I will remember this insult.";
	text1 = "Ghaldring was beginning to call and Shape essence when you say these words. Something about your tone stops him. _Yes ... Yesssss ..._ His drakon sibilance has returned. Interesting. _The command ..._";
	text2 = "_You have the command of a Shaper. Very interesting. Very useful. And I believe you. I will consider you tested. Give me a moment, and then we have things to discussss ..._";
	text3 = "He takes a moment to absorb the essence he was beginning to Shape.";
	action = END_TALK;
	code =
		sf(60,9,7);
		award_party_xp(150,25);
	break;

begintalknode 81;
	state = 77;
	nextstate = -1;
	condition = 1;
	question = "Wait. I am not ready.";
	text1 = "_Well, I am ready. The master of Gazaki-Uss is not to be kept waiting!_ The smell of essence fills the room. Forms begin to take shape in front of the drakon.";
	text2 = "_This will be but a skirmish. Defend yourself. I will see, personally, how you fare ..._";
	action = END_TALK;
	code =
		sf(60,9,4);
	break;

begintalknode 82;
	state = 77;
	nextstate = -1;
	condition = 1;
	question = "All right. I will undergo one more test.";
	text1 = "_Excellent! Let us begin ..._ The smell of essence fills the room. Forms begin to take shape in front of the drakon.";
	text2 = "_This will be but a skirmish. Defend yourself. I will see, personally, how you fare ..._";
	action = END_TALK;
	code =
		sf(60,9,4);
	break;

begintalknode 84;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = "Ghaldring looks at one of the creations he created. _You are an unworthy creation. I am ashamed to have made you._ He points at the unfortunate creature.";

begintalknode 85;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = "Ghaldring looks at one of the creations he created. _You are performing well. I will aid your efforts._ He points at the creature.";

begintalknode 86;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = "Ghaldring nods. _I have seen enough. You are competent enough that we can trust you with ... certain tasks. Perhaps. I will end this before you are unnecessarily damaged._";
	text2 = "He makes a motion with his claw. The pylons start to hum.";

begintalknode 87;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = "With a final, furious howl, Ghaldring falls to his knees. Gruesome wounds and burns cover his body. He isn't mortally wounded. Not yet. But he is no fool. He knows how things are about to end.";
	text2 = "But he has one final decision left to him. In death, as in life. He is decisive. He sees what he has to do, and he does it. _No!_ he screams. _I long swore ... I would never fall to the Shapersss. Never. Never!_";
	text3 = "He raises a hand and bares five long, razor-sharp claws. At first, you expect some new attack or spell. Then he raises them to his neck. _You will never take me. I die free. Free!_";
	text4 = "And, with one swift motion, it is done. Ghaldring falls to the floor. His enormous bulk smashes the stones below him. Moments later, he is dead.";

	
// GHALD 3

begintalknode 90;
	state = -1;
	nextstate = 90;
	condition = 1;
	question = "Name";
	text1 = "You speak with Ghaldring again. If he has any remorse for his attempting to kill you, he doesn't show it. He is as calm and cordial as he was when he first spoke with you.";
	text2 = "_I think that I have had a chance to gauge your merit. I understand you better now. Now I can deal with you._";
	text3 = "_Now I am ready to give you the message to deliver to Alwan._ As he speaks, you are constantly on your guard. You will never be sure if this creature is about to _test_ you again. Everyone in Gazaki-Uss must feel like this all the time.";
	text5 = "Ghaldring continues to watch you silently. You start to feel nervous, almost naked, although this is just another bit of mental trickery.";
	text6 = "The hum from the pylons around you is starting to be distracting. Ghaldring is creating little mental illusions. The power in the pylons is very real.";
	code =
		if (gf(60,11) == 0) {
			rs(5); rs(6);
			sf(60,11,1);
			}
			else {
				rs(1); rs(2); rs(3);
				}
	break;
	
begintalknode 91;
	state = 90;
	nextstate = -1;
	condition = gf(60,1) == 0;
	question = "What is the message?";
	text1 = "_That there has been enough suffering in Terrestia. We drakons are not insensate to the plight of the lesser creatures on both sides of the conflict._";
	text2 = "_We call for a five year cease fire. Cities can be rebuilt, food can be grown, people can recover. Then both sides can come together and decide if the war needs to continue._";
	text3 = "_That is the heart of my offer. Diplomats can argue over the details later. You can take my words back to Alwan. Though not immediately._";
	text4 = "_I would also spend some time speaking with you. You are an intriguing creature. I thought, when I summoned you, that I might be able to turn you to our cause. Now you can speak freely._";
	code =
		sf(60,1,1);
	break;

begintalknode 92;
	state = 90;
	nextstate = 91;
	condition = gf(60,1) > 0;
	question = "I would like to know more about you.";
	text1 = "Ghaldring looks slightly irritated. _What is important is not what I was. What matters is what I am, what I can do._";
	text2 = "_But it sometimes benefits me to have my story known, so I will share a small part of it. I am one of the first drakons, one of the first creations that could Shape. I was made in these very mountains, a day's walk from here._";
	text3 = "_I was also one of the first drakons to Shape myself. That, truly, was the great advancement that made the rebellion possible._";

begintalknode 93;
	state = 90;
	nextstate = 94;
	condition = gf(60,1) > 0;
	question = "Tell me about the rebellion.";
	text1 = "_The rebellion? My rebellion. It was hatched by me, from my hiding place in the Ashen Isles. I led the first assaults. The first Shaper cities to fall were dismantled in part with my own claws._";
	text2 = "_The rebellion is a delicate alliance now, between the drakons, the human outsiders, and the smaller creations. But we all have a common interest: doing whatever it takes to keep the Shapers from ever dominating us again._";

begintalknode 94;
	state = 90;
	nextstate = -1;
	condition = gf(60,1) > 0 && gf(60,16) == 1;
	question = "You thought that you would recruit me?";
	text1 = "_I did, until I saw how you carried yourself when Khressia challenged you. Your cowardice showed you to be unsuitable as one of my servants._";
	text2 = "_Now that you have the message to deliver, you should take it. There is little else for you to do here._";

begintalknode 95;
	state = 90;
	nextstate = 97;
	condition = gf(60,1) > 0 && gf(60,16) != 1 && (gf(60,9) == 7 || gf(60,9) == 9);
	question = "You thought that you would recruit me?";
	text1 = "_I did. I still do. My appeal is short. The Shapers are doomed. We have stripped half of Terrestia away from them. Their Council is confused and divided. Soon, their defenses will break, and we will sweep west once again._";
	text2 = "_It is not too late for you to join us and be spared when the end comes._";

begintalknode 96;
	state = 91;
	nextstate = -1;
	condition = 1;
	question = "Who created you?";
	text1 = "_A foolish, mad Shaper, who thought that he could control his new, strong-willed creations and gain great power because of them._";
	text2 = "_He is gone. We remain._";

begintalknode 97;
	state = 91;
	nextstate = -1;
	condition = 1;
	question = "Why do you like for your story to be known?";
	text1 = "_We have the power to take existing beings and reShape them. Make them stronger. We do it for ourselves. We do it for others._";
	text2 = "_These boons of power are very valuable for recruiting others to our cause. What the Shapers would hoard, we share freely._";

begintalknode 98;
	state = 91;
	nextstate = 92;
	condition = 1;
	question = "How do you Shape yourself?";
	text1 = "_The canisters, the same canisters you have used many times. And the Geneforges. And the use of direct magic. My current, glorious form is mightily different from how it was when I was first Shaped._";

begintalknode 99;
	state = 92;
	nextstate = -1;
	condition = 1;
	question = "You say that I have used many canisters?";
	text1 = "_It is obvious. I can sense it in you. Your skin, your eyes, your manner, it all betrays how extensively you have been changed. You are not gaining power in your travels. You are simply reawakening it._";
	text2 = "_Of course, it occurs to me that you might not remember using the canisters. But it has happened, I assure you._";

begintalknode 100;
	state = 92;
	nextstate = -1;
	condition = gf(100,5) < 2 && gf(60,16) != 1;
	question = "Can I purchase any of your canisters?";
	text1 = "_No, but you can earn them. If you aid us, I will give you access to many of them. You will gain a remarkable amount of power very quickly._";

begintalknode 101;
	state = 94;
	nextstate = -1;
	condition = 1;
	question = "What do you think of the outsider humans?";
	text1 = "_Humans feel themselves superior to creations. Even non-Shapers. We will work with them. Fight with them. But, if they ever try to dominate us creations, and they will, we will remind them that the old days are gone forever._";

begintalknode 102;
	state = 94;
	nextstate = -1;
	condition = 1;
	question = "And how do the smaller creations feel about you?";
	text1 = "_The drakons created the rebellion. We gave it most of its strength. And yet, the lesser ... I mean, the smaller creations demand to rule it. They are not appropriately grateful to my kind._";
	text2 = "_There are still issues of command, of rulership, that need to be settled. All these things can be addressed in due time. Once victory over the Shapers is won._";

begintalknode 103;
	state = 94;
	nextstate = -1;
	condition = 1;
	question = "What will the final fate of the Shapers be?";
	text1 = "_Ahhhh. That decision will be up to them. If they finally learn to treat us with respect, they can live on their lands and we will leave them alone._";
	text2 = "Somehow, you doubt that this response is entirely candid.";
	text3 = "_I do not need to pretend around you. Not now. The final fate of the Shapers will be death. That is the only way they can pay for their crimes, the only way we can be safe from them forever._";
	text4 = "_Of course, you are safe from this judgment. As are other outsider humans._";
	action = DEP_ON_SDF 100 5 1;
	
begintalknode 104;
	state = 94;
	nextstate = -1;
	condition = 1;
	question = "Have there been any disagreements among the different parts of the rebellion?";
	text1 = "_No. We are all united in perfect unison against the vile Shapers._ You doubt that this is the full truth.";
	text3 = "_There are. Issues of power, of authority. Nothing that cannot wait until after the Shapers have been destroyed. Do not worry about it. Attend to your duties._";
	action = DEP_ON_SDF 100 5 1;

begintalknode 105;
	state = 90;
	nextstate = 95;
	condition = gf(60,1) > 0 && (gf(60,9) == 7 || gf(60,9) == 8);
	question = "Why did you send Khressia to attack me?";
	text1 = "_I wanted to gauge your strength and eliminate a pest. I could achieve two goals with one action. The efficiency of it was irresistible._";

begintalknode 106;
	state = 95;
	nextstate = -1;
	condition = 1;
	question = "What made Khressia such a pest?";
	text1 = "_He disagreed with me. Multiple times. Challenging me once shows spirit. More than that, and you are interfering with the war against the Shapers._";

begintalknode 107;
	state = 97;
	nextstate = -1;
	condition = gf(60,9) < 9;
	question = "I do not want to join you.";
	text1 = "Ghaldring nods. He considers whether to slay you, since you might, after all, work against him in the future. He decides against it.";
	text2 = "_I see. It would be a diplomatic error to kill you now. The benefit does not outweigh the loss. You may leave. If you realize the error of your ways, you may return later. Do not wait too long. This road to survival will not be open forever._";
	text3 = "The drakon waves you away.";
	action = END_TALK;
	
begintalknode 108;
	state = 97;
	nextstate = -1;
	condition = gf(100,0) - (get_stat(20) / 2) >= 100;
	question = "I want to fight for the rebellion.";
	text1 = "Ghaldring considers it. _You would be useful, but, now that I reflect upon it, the reports I have had of your actions show a regretful tendency to aid the Shapers._";
	text2 = "You try to convince Ghaldring of your loyalty to the rebel cause, but your diplomatic skill isn't adequate. _Go forth and prove your alliance to your cause. Then, and only then, might we welcome you._";
	action = END_TALK;

begintalknode 109;
	state = 97;
	nextstate = 98;
	condition = gf(100,0) - (get_stat(20) / 2) < 100;
	question = "I want to fight for the rebellion.";
	text1 = "Ghaldring considers this. _You would be useful. You have shown yourself to be competent. Your past actions and words show sympathy with our cause._";
	text2 = "_For this, I think, I will let you try to prove yourself to us. If you show enough skill and determination, I will allow you to join our number. And, I should add, grant you access to a number of canisters and considerable power._";
	
begintalknode 110;
	state = 98;
	nextstate = -1;
	condition = 1;
	question = "More testing? I am not sure that I can trust you.";
	text1 = "_The earlier tests were of your competence. Now I must trust your loyalty. The Shapers are very cunning in their selection of spies. I must ensure that you are willing to harm them._";
	text2 = "_You do not need to worry, however, about me trying to kill you. As long as I am convinced that you can aid the revolution, I will want you to live._";

begintalknode 111;
	state = 98;
	nextstate = 99;
	condition = gf(42,12) > 1;
	question = "What do I need to do?";
	text1 = "_You must aid us in an assault against the Shapers. You must do direct harm to them._";
	text2 = "_My agents have intercepted messages from Astoria, a member of the Council. She has learned about a tunnel. It is in the mountains east of Fort Rockfall. It is a way for our forces to pass the forts of General Alwan._";
	text3 = "_She is considering helping us through it to discredit Alwan. I will not wait for her generosity._";
	text4 = "_It is well hidden, trapped, and defended. You need to slip in and clear a path through. Once this is done, quickly return to me so that I can send an assault through._";
	code = 
		set_flag(60,9,9);
		sf(56,4,1);
		toggle_quest(16,1);
	break;	
	
begintalknode 112;
	state = 99;
	nextstate = -1;
	condition = 1;
	question = "How can I find this tunnel?";
	text1 = "_Enter the wastes east of Fort Rockfall and stay close to the mountains to the south. Look for a bare wall, marked with carved stone pillars._";
	text2 = "_This is where you can find the door. You have the senses of a Shaper. The way will be clear to you._";

begintalknode 113;
	state = 99;
	nextstate = -1;
	condition = 1;
	question = "Why haven't you sent your own forces?";
	text1 = "_It is important that the Shapers not know we are infiltrating the tunnel until I am ready to send an attacking force through. That means that I need to send a small number of infiltrators to clear the way._";
	text2 = "_The servants I have at the moment are, sadly, not adequate to the task._";
	
begintalknode 114;
	state = 90;
	nextstate = -1;
	condition = gf(60,9) == 9 && gf(100,15) > 0;
	question = "I found the hidden tunnel. The way is clear.";
	text1 = "You describe the tunnels and the obstacles you passed. Ghaldring must be pleased. He shows the slightest flicker of a smile. _Then we will act, and act soon. Fort Rockfall is poorly defended. Soon, I think, it will fall._";
	text2 = "_Shapers will die because of your actions. I think you are sincere when you say that you want to fight for the rebels. And yet, I think, one more test is needed._";
	text3 = "_But, since you have aided us so ably, I want to prove that we can reward you as well as the Shapers can. You may enter my laboratories. Be careful not to break anything. There are several storage chambers there._";
	text4 = "_I will have one unlocked for you. Also ..._ He shouts a command. You don't understand it. It is in the odd language the drakons have made for themselves. Soon, a drakon enters the hall with a cloak and pouch of coins for you.";
	text5 = "_Now we can discuss the next test._";
	code = 
		sf(100,15,2);
		sf(59,25,1);

		set_flag(60,9,10);
		toggle_quest(16,3);
		award_party_xp(300,25);
		reward_give(22);
		change_coins(500);
	break;	
	
begintalknode 115;
	state = 98;
	nextstate = -1;
	condition = gf(42,12) <= 1;
	question = "What do I need to do?";
	text1 = "_First, return my message to Alwan. Once that is done, we can begin our project._";
	
begintalknode 116;
	state = 90;
	nextstate = 100;
	condition = gf(60,9) == 10 || gf(60,9) == 11;
	question = "What is my next test?";
	text1 = "_You have proven that you hate the Shapers. Now you must prove that you respect us. That you will be loyal to our orders._";
	text2 = "_There is a drakon hiding near here. He is in a crypt in the northwest corner of the wasteland outside Gazaki-Uss, near Fort Defiance. His name is Tholosss. He is a traitor and a spy. He exchanges messages with the Shaper Council._";
	text3 = "_He needs to be disciplined. However, the creatures in the crypt have kept my agents from reaching him. Enter the crypt and get to Tholosss. That is all you need to do. I will direct events from there._";
	code = 
		set_flag(60,9,11);
		toggle_quest(17,1);
	break;	
	
begintalknode 117;
	state = 100;
	nextstate = -1;
	condition = 1;
	question = "Should I speak with Tholosss?";
	text1 = "_If you choose. And, should he attack you, you may defend yourself. However, I think he will not be hostile. I think he is eager to leave his pit and submit, once again, to our rule._";
	
begintalknode 118;
	state = 100;
	nextstate = -1;
	condition = 1;
	question = "What will you do to him when you reach him?";
	text1 = "_That is a matter between drakons. I would prefer not to kill him. He is ... respected. But he must be made to see that he exists only if I will it._";
	
begintalknode 119;
	state = 100;
	nextstate = -1;
	condition = 1;
	question = "How do I know that you tell the truth about him being a spy?";
	text1 = "_I have told you. That is all you should need._";
	text2 = "_But I will say one thing. It is from his communications that we learned of the tunnel past the Shaper fortresses. Immensely valuable information. That he did not share._";
	
begintalknode 120;
	state = 90;
	nextstate = -1;
	condition = gf(60,9) == 11 && gf(55,5) > 0;
	question = "I have reached Tholosss. (Tell the tale.)";
	text1 = "You describe your adventure in the crypt at the edge of the wasteland. Ghaldring seems pleased. _Now Tholosss knows that there is no place he can hide. Not in Shaper lands. Not in my lands. I will bring him back soon._";
	text2 = "You describe your adventure in the crypt at the edge of the wasteland, ending with your fight with Tholosss. _So the drakon is dead. Unfortunate. I could have made use for him. But he was disobedient. And he was punished._";
	text3 = "_I will have another storeroom opened for you in my laboratories. Also ..._ He barks out another command. Soon, a drakon brings a lovely ring and a pouch of gold coins for you.";
	text4 = "_I am still unsure about you. I suspect that your loyalty is less than absolute. And yet, events move quickly. The Council is divided and vulnerable. Now we can strike._";
	text5 = "_You may now swear obedience to me, the drakons, and the rebellion. I congratulate you._";
	code = 
		if (gf(101,7) > 0)
			rs(1);
			else rs(2);
		sf(59,26,1);

		set_flag(60,9,12);
		toggle_quest(17,3);
		award_party_xp(300,25);
		reward_give(341);
		change_coins(750);
	break;	

begintalknode 121;
	state = 90;
	nextstate = 101;
	condition = gf(60,9) == 12 && (gf(100,3) == 2 || gf(100,4) == 2 || gf(100,2) == 2 || gf(100,6) == 2);
	question = "I will swear loyalty to you.";
	text1 = "_Perhaps you will. But I would not accept your oath until you renounce obedience to others._";
	text2 = "_I thank you for the help you have given so far. You have been very useful. However, I believe that your loyalty is with another. Renounce those you have sworn to help, and I may be able to trust you fully._";
	
begintalknode 122;
	state = 101;
	nextstate = -1;
	condition = 1;
	question = "I will not do that.";
	text1 = "_Then you tempt my wrath. It is only the extent of your previous service that moves me to spare you. Leave me. Return only when you are ready to be loyal._";
	action = END_TALK;
	
begintalknode 123;
	state = 101;
	nextstate = 102;
	condition = 1;
	question = "I want to renounce my old alliance. I want to serve you.";
	text1 = "He looks into your eyes, trying to gauge your sincerity. _Then swear again, on your life. But know this. Betrayal has consequences._";
	text2 = "(If you agree, the faction you agreed to help earlier will turn their backs on you. There is no going back to them. Be sure that this is what you want.)";
	text3 = "_Your words and deeds have shown you to be loyal to the Shapers. I could not trust you._";
	action = DEP_ON_SDF 100 0 102;
	
begintalknode 124;
	state = 102;
	nextstate = -1;
	condition = gf(100,0) < 103;
	question = "I will not do that.";
	text1 = "_So I thought. You tempt my wrath. It is only the extent of your previous service that moves me to spare you. Leave me. Return only when you are ready to be loyal._";
	action = END_TALK;
	
begintalknode 125;
	state = 102;
	nextstate = 90;
	condition = gf(100,0) < 103;
	question = "I swear on my life that I want to serve you. I renounce my old alliance.";
	text1 = "You expect something more dramatic. A shock or a bolt of lightning or something. Nothing so spectacular happens. However, you suspect that word of your action will soon filter back to your former master.";
	text2 = "Ghaldring nods. _You have chosen wisely. I will give you new purpose, though I will also make sure there is no going back to where you were before. Now then. Let us discuss our new future._";
	code =
		if (gf(100,3) == 2)
			sf(100,3,3);
		if (gf(100,4) == 2)
			sf(100,4,3);
		if (gf(100,2) == 2)
			sf(100,2,3);
		if (gf(100,6) == 2)
			sf(100,6,3);
	break;
	
begintalknode 126;
	state = 90;
	nextstate = 103;
	condition = gf(60,9) == 12 && gf(100,3) != 2 && gf(100,4) != 2 && gf(100,2) != 2 && gf(100,6) != 2 && gf(100,5) < 2;
	question = "I will swear loyalty to you.";
	text1 = "_Would you? Then know this. I am not a weak creature of peace. The Shapers have ruled Terrestia for too long. They are convinced, to the core of their beings, that this is just. Only one thing will convince them otherwise: bloodshed._";
	text2 = "_The Shapers must be beaten down until they lose their will to fight. You are the instrument I would use to defeat them. Do you agree to this?_";
	
begintalknode 127;
	state = 103;
	nextstate = -1;
	condition = 1;
	question = "I believe they can be made to see reason.";
	text1 = "_Maybe. But it will be me who decides that, not you. I will send you to scourge them until their spirits are broken enough that they can choose to submit._";
	
begintalknode 128;
	state = 103;
	nextstate = -1;
	condition = 1;
	question = "And, when the Shapers are defeated, who will rule Terrestia?";
	text1 = "Ghaldring chuckles. _That is a ... A conversation for another day. Once the Shapers are broken, all of us, the drakons, the serviles, the humans, we will have another ... discussion._";
	text2 = "_But, until that day, we must be united. Know this. None in the rebellion would disapprove of what I am asking of you._";	
	
begintalknode 129;
	state = 103;
	nextstate = -1;
	condition = 1;
	question = "I am not sure that I want to follow you.";
	text1 = "Ghaldring looks aggravated. He is a very dangerous creature to anger. _You are turning into a liability, a waste of my time. Battle your indecision elsewhere. I have a war to plan._ He waves you away.";
	action = END_TALK;
	
begintalknode 130;
	state = 103;
	nextstate = 104;
	condition = 1;
	question = "I am ready to swear loyalty.";
	text1 = "_Then you swear to obey me? And to bring death and destruction to Shapers and loyalists? Until the rebellion is victorious?_";
	text2 = "(If you agree, you will join Ghaldring and be on one of the paths to winning the game. You can leave this path later, but not without penalty. Make sure that this is what you want.)";

begintalknode 131;
	state = 104;
	nextstate = -1;
	condition = 1;
	question = "I'm still not sure.";
	text1 = "Ghaldring looks aggravated. He is a very dangerous creature to anger. _You are turning into a liability, a waste of my time. Battle your indecision elsewhere. I have a war to plan._ He waves you away.";
	action = END_TALK;
	
begintalknode 132;
	state = 104;
	nextstate = 90;
	condition = 1;
	question = "I so swear.";
	text1 = "He lets out a long, pleased hiss. _And I swear to aid you in your struggle and reward you for your successes. I am pleased to have a new ally, a cunning and dangerous infiltrator and warrior._";
	text2 = "_You will be well-rewarded for your assistance. I will instruct Saakash to teach you more advanced magic and Shaping._";
	text3 = "_Now that there is hope, I am eager to begin. Let us discuss your mission. It is time to bring an end to the Shaper Council._";
	code =
		sf(100,5,2);
		award_party_xp(250,20);
	break;

begintalknode 133;
	state = 90;
	nextstate = 106;
	condition = gf(100,5) == 2 && gf(60,9) == 12;
	question = "What is my mission?";
	text1 = "_We have learned one hard lesson from this war. Defeating the Shapers on the battlefield is impossible. Defeat one army and the Shapers can make another._";
	text2 = "_No, we need to attack the Shapers themselves. Their bodies, and their pride. We need to show the Shapers that they cannot oppress us and live. Your skill and ability to move easily through their lands make you our agent._";
	text3 = "_There are four members of their Council within easy reach. Rawal. Astoria. Alwan. Taygen. They are divided. Their forces are exhausted. Their defenses are weak._";
	text4 = "_You must kill them._";
	code = 
		set_flag(60,9,13);
		toggle_quest(18,1);
	break;	
	
begintalknode 134;
	state = 90;
	nextstate = 107;
	condition = gf(60,9) == 13;
	question = "Tell me more about my mission?";
	text1 = "_It has not changed. The four members of the Council in central Terrestia must die._";
	text2 = "_And quickly. Now that their numbers are lower, we must press the advantage before the Council can meet to refill their number._";
	code =
		if (gf(59,20) == 0)
			rs(2);
	break;
	
begintalknode 135;
	state = 106;
	nextstate = 107;
	condition = 1;
	question = "Uhhh ... What?";
	text1 = "_That is right. No subtlety. No diplomacy. No vicious battles on the lands of innocents. Our best hope to defeat the Shapers is to show them, at last, that to challenge us is to die. None of them, not even their Council, are safe._";
	text2 = "_Once four members of the Council are dead, I am sure that the rest will surrender._";
	
begintalknode 136;
	state = 107;
	nextstate = 110;
	condition = 1;
	question = "How can I kill them?";
	text1 = "_Trickery. Sabotage. Battle. You have the full powers of an army. Where you go, an army goes with you. The best technique in each case is up to you._";
	text2 = "_If you plan to rely on stealth and sabotage, it will be difficult to slip into the Shaper cities, but not impossible. You might wish to scout them out before you attract the undying rage of the Shapers._";
	text3 = "_Also, we have sent out many a spy. You might be able to get advice from our agents._";
	
begintalknode 137;
	state = 107;
	nextstate = -1;
	condition = 1;
	question = "Can I be rewarded as I proceed?";
	text1 = "_Of course. When each member of the Council falls, come to me and be paid your bounty._";
	
begintalknode 138;
	state = 90;
	nextstate = -1;
	condition = gf(60,9) == 13 && gf(100,8) == 0;
	question = "Rawal has placed a control tool it my chest. Can it be removed?";
	text1 = "_Ah, yes. The tool. We knew about that well before you arrived here. We are prepared. Speak with Saakash. She can remove it._";
	
begintalknode 139;
	state = 90;
	nextstate = -1;
	condition = gf(60,9) == 13 && gf(59,27) < 2 && gf(59,20) > 0;
	question = "I have slain one member of the Council.";
	text1 = "You tell the tale of your victory to Ghaldring. He listens with great pleasure. Then he has you repeat the story. He starts to drool with pleasure. _Yessss ... I chose well. I look forward to more deathsss._";
	text2 = "_I will have another canister made ready for you in the labsss. Go now. I will tell the other drakonsss of the successss of our path. You have done very well._";
	code =
		award_party_xp(100,30);
		sf(59,27,2);
	break;
	
begintalknode 140;
	state = 90;
	nextstate = -1;
	condition = gf(60,9) == 13 && gf(59,27) > 1 && gf(59,28) < 2 && gf(59,20) > 1;
	question = "I have slain a second member of the Council.";
	text1 = "You tell the tale of your victory to Ghaldring. He shudders with happiness as you tell the tale. Once again, his voice takes on a rougher, more sibilant tone. _Yessss ... Good. Good._";
	text2 = "_I wish I could have been there to see it. All those deaths, centuries of injustice, avenged. Yessss!_";
	text3 = "_I will have another canister made ready. And I will tell the othersss in the rebellion of this victory. There will be much celebration._";
	code =
		award_party_xp(150,30);
		sf(59,28,2);
	break;
	
begintalknode 141;
	state = 90;
	nextstate = -1;
	condition = gf(60,9) == 13 && gf(59,28) > 1 && gf(59,29) < 2 && gf(59,20) > 2;
	question = "I have slain a third member of the Council.";
	text1 = "You tell the tale of your victory to Ghaldring. You'd think he'd be used to these reports by now, but he is more pleased than ever. He wants to hear the story four times. He seems almost overcome with emotion.";
	text2 = "_I did not think it would affect me like thisss. So many yearsss of control, of the commandsss of rulership. But to think ... Of a day when I do not have to fight. Soon. Soon, it may happen._";
	text3 = "_I will have another canister made ready. And I will tell the othersss in the rebellion of this victory. There has already been much celebration of your actsss. Now, I think, discipline will be hard to maintain._";
	code =
		award_party_xp(200,30);
		sf(59,29,2);
	break;
	
begintalknode 142;
	state = 90;
	nextstate = -1;
	condition = gf(60,9) == 13 && gf(59,29) > 1 && gf(59,20) > 3;
	question = "The work is done. Four members of the Shaper Council are dead by my hand.";
	text1 = "You tell the tale of your victory to Ghaldring. This time, you are surprised to see that he is somber. _Yesss. I already knew. So did the Shapersss. I thought they would be broken. They are not. Not yet._";
	text2 = "_Eventsss have been moving quickly. One battle remainsss, I think. Troopsss are already on the move. You must move to help them._";
	code =	
		sf(60,9,14);
		toggle_quest(18,3);
		award_party_xp(250,30);
	break;
	
begintalknode 143;
	state = 107;
	nextstate = -1;
	condition = 1;
	question = "Anything else I should know?";
	text1 = "_The Shapers defend their own. Once a member of the Council falls, they will never forgive you. Once the first member is dead, you will have no peace in their lands. The rest will be harder to reach._";
	text2 = "_Be prepared for this. Fortunately, if you can't fight your way into their fortresses, there are frequently ways to sneak in._";
	
begintalknode 144;
	state = 90;
	nextstate = 108;
	condition = gf(60,9) >= 14;
	question = "What is my final mission?";
	text1 = "_The Shaper Council is soon to meet. The remaining three membersss, I mean. I sent word to them, offering a peace. They refused it! The arrogant foolsss! They will select four new Shapersss, and we must begin again._";
	text2 = "_No. Thisss will not happen. Instead, we must strike one more time. We must show that even their Council Hall is not safe. The Council must be destroyed. If thisss does not break their spirit, nothing will._";
	text3 = "_A raiding party is already crossing the Storm Plains. It movesss freely, taking advantage of the total disarray of Shaper forcesss._";
	text4 = "_You will go west and meet them at the great Council Hall of the Shapersss. Attack the Council. They will be too proud to flee. Fight them, and show the Shapersss that none of them can live if we choose otherwise._";
	code =	
		sf(60,9,15);
		toggle_quest(19,1);
		sf(100,18,1);
	break;
	
begintalknode 145;
	state = 108;
	nextstate = -1;
	condition = 1;
	question = "And what will you do?";
	text1 = "_I will go west, soon after you leave. When Shema and the rest of the Council die, I will be there. It is a risk, but they must see me. And despair._";
	
begintalknode 146;
	state = 108;
	nextstate = -1;
	condition = 1;
	question = "Do you really think that destroying the Council will break their spirit?";
	text1 = "For the very first time, you see doubt in Ghaldring's eyes. _I ... I do not know. I thought that they would have weakened now. I underestimated them._";
	text2 = "_This might fail. If so, many drakons will die needlessly. Including, perhapsss, me. But thisss act, totally taking away their leadership, might also bring victory. So I must try._";	
	
begintalknode 147;
	state = 108;
	nextstate = -1;
	condition = 1;
	question = "You think that the Council will actually fight you?";
	text1 = "_Of thisss, I am confident. The Shapersss would never abandon their Council Hall to mere creations. Ever. I think every single one of them would rather die than see that day._";
	text2 = "_Yessss ... They will fight usss. And I will be there._";	
	
begintalknode 148;
	state = 108;
	nextstate = -1;
	condition = 1;
	question = "And what should I do?";
	text1 = "_Hurry to the Council Hall. Catch up with our raidersss. Do all you can to help them enter the hall, confront the leadersss of the Shapersss and win victory._";
	
begintalknode 149;
	state = 110;
	nextstate = -1;
	condition = gf(101,2) == 0;
	question = "Do you have an agent in Rawal's mountains?";
	text1 = "_We did. Her name was Mehken. She is no longer there, of course._";
	text2 = "_She has said that, if you wish to reach Rawal's lair without avoiding notice, it is best entered from the rear, through his Foundry Core._";
	
begintalknode 150;
	state = 110;
	nextstate = -1;
	condition = gf(101,3) == 0;
	question = "Can you give me any advice for reaching Astoria?";
	text1 = "_Ahhhh ... Astoria. Some of our allies in the rebellion will be particularly angry to hear of her death._";
	text2 = "_If you wish to know more of her, go to the servile settlement of Kaz. That is where the allies of the drakons reside._";
	
begintalknode 151;
	state = 110;
	nextstate = -1;
	condition = gf(101,4) == 0;
	question = "Is there a spy near Alwan's fortress?";
	text1 = "_We have sent many spies to Perikalia. None have returned._";
	text2 = "_Alwan keeps a very well-equipped dungeon in his fortress. If any of the unfortunate creatures in my service have survived his attentions, they will be there._";
	
begintalknode 152;
	state = 110;
	nextstate = -1;
	condition = gf(101,5) == 0;
	question = "Can you help me to get to Sage Taygen?";
	text1 = "_That mad monster of Shaper has been rounding up all creations and putting them in camps. I have a special eagerness to hear of his death._";
	text2 = "_I believe that one of our spies was going to try to engineer a mass escape from the camp to the southwest of the Zephyr Oasis. We do not know if this agent succeeded._";

// Learned Plo

begintalknode 155;
	state = -1;
	nextstate = 150;
	condition = 1;
	question = "Name";
	text1 = "There is a young servile here. He has sharp eyes, an easy smile, and an aura of self-confidence. It's always very easy to tell the serviles who were born and raised completely out of Shaper control.";
	text2 = "He says, _Hello, visitor. I am Learned Plo. I have been told to greet you when you enter. I will take you to see Ghaldring. Please follow me._";
	text5 = "Learned Plo says, _Greetings to you. How can I help you?_";
	action = INTRO;
	
begintalknode 156;
	state = 150;
	nextstate = -1;
	condition = 1;
	question = "Why are you called 'Learned'?";
	text1 = "_I am a sage. I study the history of our people. It is important to understand the mistakes of the past, mistakes of humans and serviles alike, if we are to avoid repeating them._";
	text2 = "He sees that you are about to speak and stops you. _But we are both busy. I do not have time to discuss these things._";
	
begintalknode 157;
	state = 150;
	nextstate = -1;
	condition = gf(60,9) == 0;
	question = "Ghaldring is expecting me?";
	text1 = "_Yes. As I understand it, your progress across the wastes was tracked. And, of course, you were seen as you approached the city gate._";
	
begintalknode 158;
	state = 150;
	nextstate = -1;
	condition = gf(60,9) == 0;
	question = "Lead on.";
	text1 = "_Yes. Our leader awaits._ Learned Plo points to the east.";
	action = END_TALK;
	
begintalknode 159;
	state = 150;
	nextstate = -1;
	condition = gf(60,9) == 1;
	question = "Where do I go now?";
	text1 = "Learned Plo points to the north. _The quarters for visitors are that way. Your room is in the far corner._";
	action = END_TALK;
	
begintalknode 160;
	state = 150;
	nextstate = 151;
	condition = gf(60,9) == 3;
	question = "I need to see Ghaldring.";
	text1 = "Learned Plo looks uncomfortable. _I am sorry. Ghaldring is occupied. He cannot see you._";
	
begintalknode 161;
	state = 151;
	nextstate = -1;
	condition = 1;
	question = "But this was the day he was going to give me the message.";
	text1 = "_I know nothing of that. I am sorry. Ghaldring said that he is not to be disturbed._";
	
begintalknode 162;
	state = 151;
	nextstate = -1;
	condition = get_stat(20) >= 5;
	question = "Is it impossible to see him? Is there no way to find my way in?";
	text1 = "Learned Plo lets out a little cough. _I cannot advise you about that. There are many back halls in this place, but many of them are dangerous._";
	
begintalknode 163;
	state = 151;
	nextstate = -1;
	condition = 1;
	question = "I must insist. I need to see him.";
	text1 = "_And I have said, quite clearly, that you can't. It is not my fault. It is the leader's will. Please excuse me._";
	text2 = "He walks away.";
	action = END_TALK;

begintalknode 165;
	state = -1;
	nextstate = 150;
	condition = 1;
	question = "";
	text1 = "When you approach the door to Ghaldring's chambers, it doesn't open. Learned Plo approaches you. _Pardon me. I know that Ghaldring said that you would return. However, the master is busy today. You will have to return tomorrow. Or maybe later._";
	text2 = "_I apologize. There is nothing that can be done._";

// Greta

begintalknode 166;
	state = -1;
	nextstate = 170;
	condition = 1;
	question = "Name";
	text1 = "These quarters are provided for non-drakon soldiers of the rebellion. Although they are humble, there is a full general here, eating a bowl of stew. She is young, but her rank is marked by the insignia on her leather armor.";
	text2 = "She looks up at you. She looks very familiar. You can't place her face, though you're sure you have seen it before.";
	text5 = "General Greta sits and eats her stew. She occasionally speaks guardedly of the war and of events in Terrestia. She is very careful not to discuss anything that isn't common knowledge.";
	action = INTRO;

begintalknode 167;
	state = 170;
	nextstate = -1;
	condition = gf(60,13) == 0 && gf(22,9) > 0;
	question = "Do I know you, general?";
	text1 = "She looks at you for a moment and searches her memory. Then she nods. _We have met, though in much humbler settings. I spoke with you in Penta. I am General Greta, of the rebellion._";
	text2 = "_Have a seat. I could use some company before I return to the battle._";
	action = SET_SDF 60 13 1;

begintalknode 168;
	state = 170;
	nextstate = -1;
	condition = gf(60,13) == 0 && gf(22,9) == 0;
	question = "Do I know you, general?";
	text1 = "She looks at you closely. Then she shakes her head. _I ... I am not sure. I don't think so. I am General Greta, of the rebellion. Still, if you are social, I do not object to some conversation. Even with a Shaper envoy._";
	text2 = "_Have a seat. I could use some company before I return to the battle._";
	action = SET_SDF 60 13 1;
	
begintalknode 169;
	state = 170;
	nextstate = 171;
	condition = gf(60,13) > 0;
	question = "Where do you serve?";
	text1 = "_In the north. I command on the front with the Mera-Tev. Holding the line, for now, while events develop._";
	text2 = "_From time to time, I come south to synchronize our movements with those of the drakons. And to look for new recruits._";

begintalknode 170;
	state = 170;
	nextstate = 175;
	condition = gf(60,13) > 0;
	question = "Tell me about Gazaki-Uss.";
	text1 = "_The spectacular fortress of the drakons. It is truly imposing, is it not? Almost, I dare say, Shaper-like._";
	text2 = "She sighs. _I have fought alongside the drakons for a long time. They are not getting easier to deal with._";

begintalknode 171;
	state = 170;
	nextstate = 180;
	condition = gf(60,13) > 0 && gf(60,1) == 0;
	question = "I am here to see Ghaldring.";
	text1 = "_So I have heard. Go find Learned Plo. Should be outside Ghaldring's gate, to the east. That hateful creature controls access to the big lizard._";
	text2 = "_Always be on your guard, though. Ghaldring is a dangerous and unpredictable creature. I do not fully understand why he has brought you here. He might not mean you well._";
	text3 = "_Then you may have found, as I have, that Learned Plo is not letting anyone in to see him. You may be in the same purgatory I am._";
	text4 = "_We are trapped outside, in limbo, waiting for a crack in his arrogance._";
	action = DEP_ON_SDF 60 9 2;
	
begintalknode 172;
	state = 170;
	nextstate = -1;
	condition = gf(60,13) > 0 && gf(100,5) == 2;
	question = "I am now a servant of Ghaldring.";
	text1 = "_So I have heard. A good soldier, ready to continue war without end. I only hope, in the end, you find that you have not substituted one tyrant for another._";

begintalknode 173;
	state = 171;
	nextstate = -1;
	condition = 1;
	question = "Holding the line? Why aren't you advancing into the Mera-Tev?";
	text1 = "_Ahhhh ... That is a secret matter. Not one I will discuss. Some things are not safe to speak of in Gazaki-Uss._";
	text3 = "_You have dealt with Astoria enough to know what she intends. I will not say more in this place._";
	action = DEP_ON_SDF 100 2 1;
	
begintalknode 174;
	state = 171;
	nextstate = -1;
	condition = 1;
	question = "So you are meeting with Ghaldring now?";
	text1 = "_That is why I am here. I have been here days, waiting to speak with His Arrogance. He knows I am here. He just keeps me waiting._";
	text2 = "_I will have to leave soon. I have important things to do. We would just argue anyway._";
	
begintalknode 175;
	state = 171;
	nextstate = 172;
	condition = 1;
	question = "What do you do when you find a potential recruit?";
	text1 = "_I tell them where to go. And, if I think it is warranted, I put in a good word for them, so that they might be trusted._";
	text3 = "_What I have already done for you. I can do no more._";
	action = DEP_ON_SDF 61 29 0;
	
begintalknode 176;
	state = 172;
	nextstate = -1;
	condition = gf(61,29) == 0 && gf(100,0) <= 100;
	question = "I would like to help the rebellion. Can you vouch for me?";
	text1 = "_It would do no good. You do not have a bad reputation with the rebels._";
	
begintalknode 177;
	state = 172;
	nextstate = 173;
	condition = gf(61,29) == 0 && gf(100,0) > 100;
	question = "I would like to help the rebellion. Can you vouch for me?";
	text1 = "She thinks hard about this. _I've heard about you. You have not seemed sympathetic to our cause. However, you are not without hope. I think you would be a valuable ally._";
	text2 = "_If you wish, I can spread the word that you are a potential rebel recruit. They will regard you more kindly. However, this will make you suspect with the Shapers. Are you sure this is something you want?_";
	
begintalknode 178;
	state = 172;
	nextstate = 170;
	condition = 1;
	question = "I would like to discuss something else.";
	text1 = "_All right._";
	
begintalknode 179;
	state = 173;
	nextstate = 170;
	condition = 1;
	question = "Please do that for me.";
	text1 = "She nods. _Then I will begin as soon as we are through talking. My words carry great weight in these lands. I hope that you can justify my effort._";
	text2 = "_Normally, I would not be so quick to trust you. But something about you seems ... Never mind. Just consider it done._";
	code =
		inc_flag(100,0,-6);
		sf(61,29,1);
	break;
	
begintalknode 180;
	state = 173;
	nextstate = 170;
	condition = 1;
	question = "Never mind. Not interested.";
	text1 = "She nods and smiles. _I wouldn't want someone spreading rumors behind my back either._";
	
begintalknode 181;
	state = 175;
	nextstate = 176;
	condition = 1;
	question = "You do not seem fond of the drakons?";
	text1 = "_Fond?_ She laughs. _Have you found these creatures to create warm feelings? They are cold-blooded. In all senses of the term._";
	text2 = "_But they are mighty and fearless, and their hatred of the Shapers is absolute. They are arrogant, but, when the war is won, I do think they will share power with the rest of the rebellion._";
	
begintalknode 182;
	state = 175;
	nextstate = 177;
	condition = 1;
	question = "How long have you fought alongside them?";
	text1 = "_I was trained as an Agent. In the Ashen Isles, far to the north. Birthplace of the rebellion, you know. In fact, I knew Alwan then. General Alwan, now. He was a humorless and unpleasant creature even then._";
	text2 = "_We went in different directions. I met the rebellion on those isles, and I joined them._";
	
begintalknode 183;
	state = 176;
	nextstate = -1;
	condition = 1;
	question = "And if they do not?";
	text1 = "_Then they will find themselves at the wrong end of a second rebellion. The drakons do not realize it, but the power of the free serviles and the human rebels is more than a match for theirs._";
	text2 = "_That is why I work so hard to aid them. Once the rebellion is won, we will all be free. Whatever the drakons say about it._";
	text3 = "_And this is no secret. I have said the same thing to Ghaldring's face._";
	
begintalknode 184;
	state = 177;
	nextstate = -1;
	condition = 1;
	question = "And then?";
	text1 = "_And then came many dark years. And several unexpected victories. I don't like to think about it. All the injuries, the terror, the friends lost._";
	text2 = "_I prefer to think on today, where there is actual hope._";
	
begintalknode 185;
	state = 180;
	nextstate = -1;
	condition = gf(60,9) == 3;
	question = "There is no way to sneak in and see him?";
	text1 = "_That is a dangerous thing to try. And something I will not do. I am a general of the rebellion. I have fought and faced death for many years. I do not skulk or beg._";
	text2 = "_You, on the other hand, have no such restrictions. If you are determined to see Ghaldring, there might be a way to slip in._";

// Mehken

begintalknode 190;
	state = -1;
	nextstate = 190;
	condition = 1;
	question = "Name";
	text1 = "There is a servile sitting at this table, writing out some sort of report. When you approach, she stands and turns. You recognize her instantly. It is Mehken, the servile who guided and protected you months ago in Rawal's lands.";
	text2 = "She looks very pleased to see you. _You arrived! You live!_ She clasps your hand. _After all the time in a barracks with you, I came to like you. I hoped you would like me. I am glad you did._";
	text3 = "_It is good you caught me. I am only writing a quick report. Then back to the field._";
	text5 = "You sit and sip tea with Mehken. She is eager to speak with you about your travels and adventures, and she talks about hers. Both of you are careful to avoid the more sensitive and secret aspects of your journeys.";
	text6 = "It is oddly pleasing to sit and speak with this person that has known you longer than anyone you remember.";
	action = INTRO;

begintalknode 191;
	state = 190;
	nextstate = 191;
	condition = 1;
	question = "You are going back to the field?";
	text1 = "_That is what I do. I am a spy for the rebellion. I move among the Shapers. I pretend to be a common, uneducated servile. Sometimes, as you saw, for years at a time._";
	text2 = "_And soon, I go out again. And again, until the rebellion wins._";
	text3 = "You are surprised to hear her talk like this. Now that she has spent some time back among the rebels, she is talking like an educated servile.";
	
begintalknode 192;
	state = 190;
	nextstate = 192;
	condition = 1;
	question = "So, in the Whitespires, you were a spy all along?";
	text1 = "She looks down at the floor. _I don't know. We serviles ... our duty, our job, it is part of our being. After the first year, I was more a worker than a spy._";
	text2 = "_When you woke up, in a sense, I woke up too. I had learned all I could about Rawal and his work. I had to return._";

begintalknode 193;
	state = 190;
	nextstate = -1;
	condition = gf(100,0) - (get_stat(20) / 2) >= 99;
	question = "I'd like to discuss the rebellion.";
	text1 = "She shakes her head. _I greet you as a friend, but a friend on the opposite side of our struggle. I thought that the risks I took to save you might result in your aiding our cause. I was wrong._";
	text2 = "_Still, I do not regret it._";
	
begintalknode 194;
	state = 190;
	nextstate = 194;
	condition = gf(100,0) - (get_stat(20) / 2) < 99;
	question = "I'd like to discuss the rebellion.";
	text1 = "_I would be glad to. I thought that the risks I took to save you in the Whitespires might result in your aiding our cause. I am very glad that it has._";
	text2 = "_You seem to have promise. I wonder if Ghaldring would recruit you._";
	code =
		if (gf(100,5) > 1)
			rs(2);
	break;
	
begintalknode 195;
	state = 191;
	nextstate = -1;
	condition = 1;
	question = "Where are you going next?";
	text1 = "_I can't say. Not even to you._";
	
begintalknode 196;
	state = 191;
	nextstate = -1;
	condition = 1;
	question = "And it is very dangerous?";
	text1 = "_If the Shapers catch me, they will make an example of me. The things they do to disloyal serviles ... in front of the other serviles ... It is very ugly._";
	
begintalknode 197;
	state = 192;
	nextstate = -1;
	condition = 1;
	question = "And what had you learned? Was it useful?";
	text1 = "_I learned much about Shaper research, about the sorts of creatures they are creating and studying. Some very useful things._";
	text2 = "_And I saw that Rawal cares only for his own power and wealth. He is not a serious threat to us. We do not need to spend many resources to counter him. It was very useful. Those years of my life were not wasted._";
	
begintalknode 198;
	state = 191;
	nextstate = 193;
	condition = 1;
	question = "In your travels, have you learned anything about who I might be?";
	text1 = "_No. I am sorry. But I have learned of someone who might help._";
	
begintalknode 199;
	state = 193;
	nextstate = -1;
	condition = 1;
	question = "Yes?";
	text1 = "_There is a sage in the Dera Reaches. Out in the desert, south of the Zephyr Oasis. She is said to be able to ... How was it described? 'See things that have been lost.'_";
	text2 = "_Some who I trust have said that she has genuine power. I doubt it. And yet, if your travels take you to the Dera Reaches, you might try to find her._";
	
begintalknode 200;
	state = 194;
	nextstate = -1;
	condition = gf(60,20) == 0 && gf(100,0) - (get_stat(20) / 2) < 92;
	question = "Have you found anything in your travels I could use?";
	text1 = "_I found a lost rebel cache on my last trip back. All of the supplies had rotted away, but a canister remained. I do not use such things, so I brought it back here._";
	text2 = "_It is in my quarters. I will unlock the door. Use it if you are willing to take the risk._";
	code =
		sf(60,20,1);
	break;
	
begintalknode 201;
	state = 194;
	nextstate = -1;
	condition = 1;
	question = "Do you take orders from the drakons?";
	text1 = "_For now. I fear, if they grow too much more arrogant, I might slip away and find a new general to serve._";
	text2 = "She sees that you are about to ask another question and cuts you off. _That is all I am willing to say about that in this place._";
	
begintalknode 202;
	state = 194;
	nextstate = 195;
	condition = gf(61,28) < 2;
	question = "Is there any way I can help you?";
	text1 = "_Actually, there is. There is some information you could provide that would be of great use to me. If, that is, you ever find yourself in the Dera Reaches. I may need to go down to that bleak desert soon. And beyond._";
	text2 = "_At the west end of the desert is the Lethia Pass, which leads to Lethia Province beyond. I need to know what defenses the gate has. That means I need to speak with someone who has been close enough to see it. Or I have to go myself._";
	text3 = "_If you ever see the gate in the Lethia Pass, describe it to me. I will return the favor in whatever humble way I can._";
	code = 
		set_flag(61,28,1);
		toggle_quest(85,1);
	break;	
	
begintalknode 203;
	state = 195;
	nextstate = -1;
	condition = 1;
	question = "Are you going to Lethia Province?";
	text1 = "_I can't say._";
	
begintalknode 204;
	state = 190;
	nextstate = -1;
	condition = gf(61,28) == 1 && gf(67,4) > 0;
	question = "I have been to the gate in Lethia Pass. (Describe it.)";
	text1 = "Mehken eagerly listens to your report, taking notes as she does. _Yes. Yes. I see ... If I ever had to go through there ... I might be able to manage._";
	text2 = "_I am able to return this favor. Through a bit of trading, I recently obtained a canister. Not something I would use myself, but something I can use to barter for aid._";
	text3 = "_It is in my chambers. I would like for you to have it._";
	code = 
		set_flag(61,28,2);
		sf(60,20,1);
		toggle_quest(85,3);
		award_party_xp(200,30);
	break;		
	
begintalknode 205;
	state = 190;
	nextstate = 197;
	condition = gf(60,13) > 0 && gf(60,1) == 0;
	question = "I am here to see Ghaldring.";
	text1 = "_I do not envy you. The drakon's chamber is to the east. Be wary in all your dealings with him. His loyalty to the rebellion is absolute, but his means can be ... heartless._";
	text3 = "_Ah. I have heard that the drakon's gates have been closed. That is making it difficult for anyone to see him. Very difficult indeed ..._";
	action = DEP_ON_SDF 60 9 2;
	
begintalknode 206;
	state = 197;
	nextstate = -1;
	condition = get_stat(20) > 2 && gf(60,9) == 3;
	question = "Do you have an idea how I might reach him?";
	text1 = "_Ahhh ... I would not arouse the lizard's wrath. But I have spent some time poking around in the tunnels of Gazaki-Uss. It is in my nature, I think._";
	text2 = "_Perhaps, if you did some hunting, you might find a way to reach him. But beware. There is no guarantee he will not be irritated when you do._";	
	
begintalknode 207;
	state = 194;
	nextstate = -1;
	condition = gf(100,5) < 2;
	question = "Would it be wise to serve Ghaldring?";
	text1 = "_It would be a violent and unpredictable road. However, Ghaldring's power is only matched by his hatred of Shaper rule. If you would oppose the Shapers, allying yourself with him would be wise. It is the path I have chosen._";
	text2 = "_Just bear in mind that no ally is perfect. Ghaldring has a lot of ... eccentricities._ You wait for her to elaborate. She doesn't.";
	
// Saakash

begintalknode 210;
	state = -1;
	nextstate = 210;
	condition = 1;
	question = "Saakash";
	text1 = "This drakon is the master of the laboratory. She is tall and thin, and her arms and neck bear a variety of rings and charms. Many of her scales have strange symbols dyed upon them.";
	text2 = "She greets you with the air of one who is being greatly imposed upon. _Ahhhh ... Hssss ... Ghaldring's little creature. One who must be given drakon skillssss. Drakon time._";
	text3 = "_But I would not deny the master. Thisss is never wise. I am Saakash. Quickly ... What do you wish?_";
	text5 = "Saakash looks down at you. This creature's arrogance constantly threatens your self-control, but you manage to remain calm. _Yesss? What isss it? Quickly! Quickly!_";
	action = INTRO;

begintalknode 211;
	state = 210;
	nextstate = 211;
	condition = 1;
	question = "What is your purpose here?";
	text1 = "_I am Ghaldring'sss chief researcher! She waves a clawed hand at the laboratory. I command here. I make new creationsss for testing. And I perform the final act of Shaping that creates canistersss._";
	text2 = "_And soon, Gazaki-Usss will have its own Geneforge!_";
	
begintalknode 212;
	state = 210;
	nextstate = 213;
	condition = 1;
	question = "I require training.";
	text1 = "She nods. _And now the drain of my time truly beginsss. But Ghaldring saysss I must, so I must._";
	text2 = "_Fortunately, you have not done enough for us to learn the stronger ritualsss. Those take more time to explain._";
	text3 = "_Also, Ghaldring saysss I must teach you the more powerful artsss. Even though I told him those take longer to explain._";
	text4 = "_Do you wish to learn of magic or Shaping?_";
	text5 = "_Only if Ghaldring commandsss it. And only if you are a true ally._";
	code =
		if (gf(100,5) < 2) {
			rs(1); rs(2); rs(3); rs(4);
			}
			else {
				rs(5);
				if (gf(59,20) == 0)
					rs(3);
					else rs(2);
				}
	break;
	
begintalknode 213;
	state = 210;
	nextstate = 216;
	condition = 1;
	question = "Is there any way I can aid you?";
	text1 = "_Hssss ... You would aid me? Perhapsss. Why should you not lend me time, since you cost me time too. Ghaldring hasss given me a task, in addition to my research._";
	text2 = "_I sometimes purge our landsss of creationsss with sympathy for the Trakovitesss. Those foolsss and traitorsss who would deny usss the toolsss we need to fight the Shapersss._";
	text3 = "_Their wordsss call into question the very legitimacy of drakonsss, of our right to exist and reShape ourselvesss. They must be hunted. You can help me._";
	
begintalknode 214;
	state = 210;
	nextstate = 215;
	condition = gf(100,8) == 0;
	question = "I have a control tool in my chest. I want it out.";
	text1 = "_Ghaldring has told me not to aid you until you are a sworn ally. As much asss I would love to study such a tool._";
	text3 = "Saakash has you show it to her. She nods. _An odd and intriguing design. I must try to make one. I think I can remove it._";
	text4 = "_However, it will be difficult. And extremely painful. And yet, I think you must take the risk, if you would serve usss._";
	action = DEP_ON_SDF 100 5 1;
	
begintalknode 215;
	state = 211;
	nextstate = -1;
	condition = 1;
	question = "I see you're working on some new Unbound.";
	text1 = "_Yesss. And knowledge of it must not leave thisss room. The Shapersss must not know. They must not prepare._";
	
begintalknode 216;
	state = 211;
	nextstate = -1;
	condition = 1;
	question = "You make canisters? Can I have one?";
	text1 = "_Alasss, you probably can. There are canisters in the locked cubicles here. Do not break into them. They are not yoursss._";
	text2 = "_But if Ghaldring saysss that you can have one, asss reward for a service, they will be made open to you._";
	
begintalknode 217;
	state = 211;
	nextstate = 212;
	condition = 1;
	question = "You don't have a Geneforge?";
	text1 = "_Not yet, not here. We have two, at Southforge and Northforge. The Southforge one was remade. We have none thisss far west._";
	text2 = "_Soon though, soon ... We will have one. Drakons can bathe in it and be reShaped. New forms ... new power._ The creature is practically drooling.";
	
begintalknode 218;
	state = 212;
	nextstate = -1;
	condition = 1;
	question = "It will only be for drakons?";
	text1 = "She snorts. _If lesser rebels want a Geneforge, they can make their own._";
	
begintalknode 219;
	state = 213;
	nextstate = -1;
	condition = gf(100,5) == 2;
	question = "I want to learn Shaping.";
	text1 = "You conclude your training.";	
	code = 
		begin_shop_mode("Saakash",
		  "Saakash is rude and unpleasant, but the power at her disposal is considerable. And she will share it with you, for a price.",
		  53,3,0);	
	break;
	
begintalknode 220;
	state = 213;
	nextstate = -1;
	condition = gf(100,5) == 2;
	question = "I want to learn spells.";
	text1 = "You conclude your training.";	
	code = 
		begin_shop_mode("Saakash",
		  "Saakash is rude and unpleasant, but the power at her disposal is considerable. And she will share it with you, for a price.",
		  54,3,0);	
	break;
	
begintalknode 221;
	state = 213;
	nextstate = -1;
	condition = gf(59,20) > 0 && gf(100,5) == 2;
	question = "I want to learn advanced magic.";
	text1 = "You conclude your training.";	
	code = 
		begin_shop_mode("Saakash",
		  "Saakash is rude and unpleasant, but the power at her disposal is considerable. And she will share it with you, for a price. These are the strongest spells she knows.",
		  55,3,0);	
	break;
	
begintalknode 222;
	state = 213;
	nextstate = 210;
	condition = gf(100,5) == 2;
	question = "I want to discuss something else.";
	text1 = "_Oh? Such good fortune I have._";
	
begintalknode 223;
	state = 215;
	nextstate = 210;
	condition = gf(100,5) == 2;
	question = "Never mind.";
	text1 = "_Perhapsss wise. What else must we discussss?_";
	
begintalknode 224;
	state = 215;
	nextstate = -1;
	condition = gf(100,5) == 2;
	question = "I am ready. Get this thing out of me.";
	text1 = "Saakash directs you to a nearby stone table. You lie on it. She restrains you with ropes. _Be quiet. No screaming. This is going to be agonizingly painful. And no moving. You might damage the sample._ She seems to be enjoying this.";
	text2 = "She bares your chest. She extends a long, white claw and touches the tool. She concentrates for a moment. The tool lets out a long, shrill squeal. Then it shrivels up.";
	text3 = "It is more or less at this point that the agony starts. You feel as if a massive hand is squeezing your chest. Your life blood leaks out through a tiny hole in your heart.";
	text4 = "But Saakash is prepared. With a smooth motion, she slides the tool out of you, being careful not to leave any bits behind. Then she puts a hand on the hole, concentrates, and Shapes you. The hole in your heart closes. The wound seals up.";
	text5 = "Then she cuts the ropes with her claws and runs off with the control tool, eager to preserve it for study. She leaves you, gasping, to recover on your own.";
	action = END_TALK;
	code =
		sf(100,8,1);
		alter_stat(3,-1);
		award_party_xp(100,20);
	break;
	
begintalknode 225;
	state = 216;
	nextstate = -1;
	condition = gf(61,27) < 2;
	question = "How can I help to fight them?";
	text1 = "_The Trakovitesss have a lair somewhere. A nest of traitorsss in rebel landsss. I would know where it isss. I think it isss on the border between our landsss and those of the Shaper foe._";
	text2 = "_Find them. Tell me where they are._";
	code = 
		set_flag(61,27,1);
		toggle_quest(86,1);
	break;
	
begintalknode 226;
	state = 210;
	nextstate = -1;
	condition = gf(61,27) == 1 && gf(34,2) > 0;
	question = "I have found the Trakovite Haven. It is in the Mera Fen.";
	text1 = "You tell her about the Trakovite Haven. _Then it is as I wass told. And they are led by Litalia. Litalia! One of the few humansss I respected, one of the rebellionsss best warriorsss, turned traitor._";
	text2 = "_Do not mention her name to Ghaldring. Once, I cast doubt upon her. He wasss furiousss when he learned what she did. He almost attacked me._";
	text3 = "_Since you have given information only, you only earn a small reward._ She gives you a trinket from around her neck: a crystal on a leather thong. _However, I will pay you well if you can perform a new task._";
	code = 
		set_flag(61,27,2);
		toggle_quest(86,3);
		award_party_xp(150,30);
		reward_give(394);
	break;	
	
begintalknode 227;
	state = 210;
	nextstate = -1;
	condition = gf(61,27) == 2 || gf(61,27) == 3;
	question = "How can I harm the Trakovites now?";
	text1 = "_They are led by Litalia. Litalia was a good and loyal servant of the rebellion. A truly skilled warrior. Now she isss a traitor, and she must be an example._";
	text2 = "_Slay her, and I will reward you very well. The bounty is generousss._";	
	code = 
		set_flag(61,27,3);
		toggle_quest(87,1);
	break;
	
begintalknode 228;
	state = 210;
	nextstate = -1;
	condition = gf(61,27) == 3 && gf(101,9) > 0;
	question = "It is done. Litalia is dead.";
	text1 = "Saakash is pleased. _Ghaldring will thank me for thisss. When I let him know the traitor isss gone. I will send a message, though. I do not want to be there when he getsss the news, I think._";
	text2 = "_This isss not victory, of course. The Trakovitesss will return. But thisss is a mighty blow. Litalia was very, very cunning._";	
	text3 = "Saakash sends a servile to bring you a small, wicked blade. _I was studying the enchantment in that. I am done. It isss too small for me, but it might aid you._";
	code = 
		set_flag(61,27,4);
		toggle_quest(87,3);
		award_party_xp(200,30);
		reward_give(81);
	break;
	
begintalknode 229;
	state = 216;
	nextstate = 210;
	condition = 1;
	question = "Why is it so important to fight the Trakovites too?";
	text1 = "_They are becoming more popular. Every day, more creationsss and rebelss think that we must stop Shaping. That would mean surrender! Surrender to the Shapersss! Only the power of Shaping can save usss._";
	text2 = "_Of course, they are also jealousss. They want to keep power from the drakonsss. We cannot let thisss happen either._";
	
begintalknode 230;
	state = 216;
	nextstate = -1;
	condition = gf(61,27) == 0;
	question = "I would rather not fight the Trakovites.";
	text1 = "_Then you are not completely devoted to our cause. Watch yourself. Enough disloyalty, and Ghaldring will hear of it._";
	
begintalknode 231;
	state = 216;
	nextstate = -1;
	condition = gf(61,27) > 3;
	question = "Are there any other Trakovites I should hunt?";
	text1 = "_Not yet. But soon. They will return. I am sure of it. And we will be ready._";
	
// Elik

begintalknode 234;
	state = -1;
	nextstate = 230;
	condition = 1;
	question = "Name";
	text1 = "This servile has set up a small trading post in this corner of the entry cave. He is unwashed and smelly, and his robes are torn. He must be a smuggler, entirely unsuited to a glorious fortress like this.";
	text2 = "Still, some of his goods look very useful. He gives you a smile, revealing gray and rotting teeth. _I Elik. I trader. Bring goods from west. Good things._";
	text5 = "Elik says, _I still here. Still trader. Many good goods from west._";
	action = INTRO;
	
begintalknode 235;
	state = 230;
	nextstate = 231;
	condition = 1;
	question = "How did you get these things here?";
	text1 = "_I smuggler. Good smuggler. Know all the secrets, all the back ways._";
	text2 = "_The Shapers never catch Elik._";
	
begintalknode 236;
	state = 231;
	nextstate = -1;
	condition = 1;
	question = "What sort of things do you smuggle?";
	text1 = "_Shaper things. Tools. Books secrets. They kill Elik if they catch with their things. They never catch Elik._";
	
begintalknode 237;
	state = 231;
	nextstate = 232;
	condition = 1;
	question = "Where are you from originally?";
	text1 = "_Elik born in servitude. Born to carry. To go with merchants. Back and forth through Mera-Tev. Back and forth._";
	
begintalknode 238;
	state = 232;
	nextstate = -1;
	condition = 1;
	question = "How did you get away?";
	text1 = "_Servile comes in dead of night to caravan. Free servile. Takes Elik to Shadow Road! Elik free. But Elik born to travel. Made that way. So Elik smuggles!_";
	
begintalknode 239;
	state = 230;
	nextstate = -1;
	condition = 1;
	question = "What do you think of Gazaki-Uss?";
	text1 = "_Is big. Lots of space. Like that. But inside. Elik no like inside. Elik likes to look up and always see sky._";
	text2 = "_Is good to be near mighty Ghaldring, though. Makes Elik feel safe._ He nods.";
	
begintalknode 240;
	state = 230;
	nextstate = 233;
	condition = 1;
	question = "I would like to trade with you.";
	text1 = "_Yes. Elik buys. Elik sells._";
	text2 = "_But only some things for sale. Good things only for those who swear loyalty to mighty Ghaldring._";
	text3 = "_And you sworn to Ghaldring. You can buy smuggled Shaper goods. Yes!_";
	code =
		if (gf(100,5) == 2)
			rs(2);
			else rs(3);
	break;
	
begintalknode 241;
	state = 233;
	nextstate = -1;
	condition = 1;
	question = "Let me see your wares.";
	text1 = "You conclude your business.";	
	code = 
		begin_shop_mode("Elik the Smuggler",
		  "Elik shows you his more mundane goods, the ones he can sell to those not sworn to Ghaldring.",
		  56,6,0);	
	break;	
	
begintalknode 242;
	state = 233;
	nextstate = -1;
	condition = gf(100,5) == 2;
	question = "Let me see your smuggled wares.";
	text1 = "You conclude your business.";	
	code = 
		begin_shop_mode("Elik the Smuggler",
		  "Because you have sworn loyalty to the rebellion, Elik shows you the Shaper supplies he has smuggled from the west.",
		  57,2,0);	
	break;	
	
begintalknode 243;
	state = 233;
	nextstate = -1;
	condition = 1;
	question = "I have something I need to sell.";
	text1 = "You conclude your business.";	
	code = 
		begin_sell_mode();
	break;

begintalknode 244;
	state = 233;
	nextstate = -1;
	condition = 1;
	question = "Thank you for your help.";
	text1 = "_Yes ... Yes ... Elik here indoors for a while more. Come when more good trade to do._";
	action = END_TALK;
	
// Phyllida

begintalknode 250;
	state = -1;
	nextstate = 250;
	condition = 1;
	question = "Phyllida";
	text1 = "You meet someone unusual pacing around in the entry hall. A human rebel, a mage from the look of her. Most of the human rebels operate in the east and north. They generally aren't welcomed in the drakon fortresses.";
	text2 = "This woman is furious. She stomps back and forth, muttering to herself. When you get close, she turns and says, _Look, I'm Phyllida. I'm a commander! Have you heard ..._ Then she sees who you are.";
	text3 = "_Oh ... I thought you lived here. Never mind._";
	text5 = "Phyllida is still pacing around angrily. The bottom hem of her robe is stained green from the moss and mold of the cave floor.";
	action = INTRO;

begintalknode 251;
	state = 250;
	nextstate = -1;
	condition = gf(61,26) == 0 && gf(100,0) < 97;
	question = "Can I talk to you?";
	text1 = "She looks you over. _You are the Shaper envoy? I ... I have heard you sympathize with the rebels. All right. I'll talk to you. For a bit. Nobody else here is helping me. There is something I need, and they won't let me have it._";
	action = SET_SDF 61 26 1;
	
begintalknode 252;
	state = 250;
	nextstate = -1;
	condition = gf(61,26) == 0 && gf(100,0) >= 97;
	question = "Can I talk to you?";
	text1 = "_I have no use for a Shaper envoy. I only speak to those who are loyal to the rebels. Excuse me._ She stalks off.";
	action = END_TALK;
	
begintalknode 253;
	state = 250;
	nextstate = 251;
	condition = gf(61,26) > 0;
	question = "Where are you from?";
	text1 = "_From the east. Illya Province. Rebel territory now. I'm a skilled scout, but there's nothing there to scout. Just human rebels now, guarding and rebuilding. And I needed action. So I came here._";
	
begintalknode 254;
	state = 250;
	nextstate = -1;
	condition = gf(61,26) > 0;
	question = "Why are you so angry?";
	text1 = "_Because I'm not being used! I'm a skilled scout. I should be watching the fort, but they won't give me what I need to travel safely in the wastes. So I'm stuck here, and they are probably laughing at me behind my back._";
	text2 = "_But now that I have the amulet, it's going to be different. I'm going back out soon for information. I'll show them how useful I can be!_";
	code =
		if (gf(61,25) < 2)
			rs(2);
	break;
	
begintalknode 255;
	state = 250;
	nextstate = 252;
	condition = gf(61,26) > 0 && gf(61,25) < 2;
	question = "You said that there is something you need?";
	text1 = "_That's right. Those mad serviles ... the ones who hate everyone, some of them caught a Shaper scout. She has an amulet. One of the amulets the loyalists use to tell the Shaper's creations not to attack._";
	text2 = "_Those serviles have the scout, but they aren't doing anything with the amulet. I asked for it, and they sent me away. And then one of them shot a thorn at me!_";
	
begintalknode 256;
	state = 251;
	nextstate = -1;
	condition = 1;
	question = "East of here is controlled by human rebels?";
	text1 = "_Beyond Gazaki-Uss, yes. There aren't many drakons. They leave us to hold the territory while they advance. But that isn't for me. I want to act!_";
	text2 = "_I insisted on coming here. My commander let me go. And the drakons and serviles just ignore me._";
	
begintalknode 257;
	state = 252;
	nextstate = -1;
	condition = 1;
	question = "What would it take to get the amulet?";
	text1 = "_Probably fighting them. It's going to happen soon, anyway. I overheard some drakons. Those serviles have gone too wild. Turned into brigands. And they think one of them might even be controlled by a Shaper._";
	text2 = "_They don't have long before the drakons remove them. But that doesn't do me any good. I need that amulet._";
	
begintalknode 258;
	state = 252;
	nextstate = -1;
	condition = gf(61,25) < 2;
	question = "I can get the amulet for you.";
	text1 = "_Well, that would be a pleasant surprise. I would greatly appreciate it._";
	text2 = "_Their camp is to the southwest, in the ruins of Bonepeak. And, if you can get the amulet for me, I'll make sure the other rebels hear how you helped me._";
	code = 
		set_flag(61,25,1);
		toggle_quest(88,1);
	break;	
	
begintalknode 259;
	state = 252;
	nextstate = -1;
	condition = gf(61,25) == 0;
	question = "Sorry. Can't help you.";
	text1 = "Phyllida shrugs. _Didn't expect you to. Nobody here has a bit of help for me. After all my years in the rebellion._ She wanders off, muttering angrily.";
	action = END_TALK;
	
begintalknode 260;
	state = 250;
	nextstate = -1;
	condition = gf(61,25) == 1 && has_spec_item(19) > 0;
	question = "I found your amulet. (Give it to her.)";
	text1 = "She takes it and examines it. _Hmmm. Pretty cheap for Shaper work. And this was what the scout had? Well, if they make a lot of them, they're going to end up cheap._";
	text2 = "_Let me pay you for your effort. I found these things on my last trip out._ She gives you a baton and some thorns. _I don't use them. My magic is enough. I hope they help._";
	text3 = "_Now I can go out into the wastes and gather information. When I tell the drakons things they didn't know about defenses on the line, they'll be sure to start using me._";
	code = 
		set_flag(61,25,2);
		toggle_quest(88,3);
		set_spec_item(19,-1);
		reward_give(93);
		reward_give(113);
		reward_give(113);
		inc_flag(100,0,-3);
	break;	
	
begintalknode 261;
	state = 250;
	nextstate = -1;
	condition = gf(61,25) == 1 && has_spec_item(19) == 0 && gf(59,1) > 0;
	question = "I searched Bonepeak. The amulet was gone. (Lie.)";
	text1 = "_Curse it! Now how will I be able to scout the wastes? Ah, well ... I will find a way. I always have before. I will show those arrogant lizards that I can aid in the fight._";
	text2 = "She wanders off, muttering angrily.";
	action = END_TALK;
	code = 
		set_flag(61,25,2);
		toggle_quest(88,3);
	break;	

	
// Smith Drossch

begintalknode 264;
	state = -1;
	nextstate = 260;
	condition = 1;
	question = "Name";
	text1 = "This is a small smithy. It's odd that it is back here in the guest quarters. There must be no room for it anywhere else yet.";
	text2 = "The smith is a large drayk. You watch the creature work. It's quite remarkable. She isn't using any of the tools. She picks up a damaged sword, heats it with a spell, and molds the glowing metal with her bare hands.";
	text3 = "When the work is done, she cools the blade in a bucket of water and turns to you. _Greetingsss. I am Smith Drossch. This is my smithy, for the service of all who aid the rebellion._";
	text5 = "Smith Drossch continues to work on her blades and armor. You note that she does use the tools and forge occasionally. For most jobs, she resorts to spell and claw.";
	action = INTRO;
	
begintalknode 265;
	state = 260;
	nextstate = 261;
	condition = 1;
	question = "There are not many drayk blacksmiths.";
	text1 = "_Sssss? You say that because you have not been to rebel landsss, I think. To the east, drayks have found that one of their natural placesss is in the forge. Working Shaped blades and armor is easy for usss._";
	text2 = "_Only puresteel is beyond our skill. It will not be that way for long._";
	
begintalknode 266;
	state = 261;
	nextstate = -1;
	condition = 1;
	question = "Shaped blades and armor?";
	text1 = "_Quality steel work, infused with essence. Few drayksss have been modified and given the ability to Shape, but we all can handle essence and work it slowly into metal._";
	
begintalknode 267;
	state = 261;
	nextstate = -1;
	condition = 1;
	question = "Who can work puresteel?";
	text1 = "_The smithsss of the Dera Reachesss, and only a few of them. Soon, we will find a way to buy their secretsss. Or take them._";
	
begintalknode 268;
	state = 260;
	nextstate = -1;
	condition = 1;
	question = "Could I buy your wares?";
	text1 = "_You are not sworn to aid the rebellion. My work is special, and I will not share it with outsidersss._";
	text2 = "_You have sworn to fight with usss. I would be happy to sell you my waresss._";	
	text3 = "_I have heard you aid Astoria. Some of us, ones who are not drakonsss, think that she is wise. I would be happy to sell you my waresss._";	
	code =
		clear_strings();
		if (gf(100,2) == 2) {
			as(3);
			sf(61,24,1);
			}
			else if (gf(100,5) == 2) {
				as(2);
				sf(61,24,1);
				}
				else as(1);
	break;
	
			
begintalknode 269;
	state = 260;
	nextstate = -1;
	condition = gf(61,24) > 0;
	question = "I would like to buy something.";
	text1 = "You conclude your business.";	
	code = 
		begin_shop_mode("Smith Drossch",
		  "Smith Drossch is a surprisingly competent smith. The quality of her goods is very high.",
		  58,4,0);	
	break;
	
begintalknode 270;
	state = 260;
	nextstate = -1;
	condition = gf(60,1) == 0;
	question = "I am trying to meet with Ghaldring.";
	text1 = "_I do not meddle in the affairs of the drakonsss. They look at us drayksss as children. If you would speak with Ghaldring, I sympathize, but I cannot help._";
	
begintalknode 271;
	state = 260;
	nextstate = -1;
	condition = gf(60,1) != 0;
	question = "What do you think of the drakons?";
	text1 = "_That they are a valuable ally in a great cause. So we work with them. Even if we do not like them._";
	
begintalknode 272;
	state = 260;
	nextstate = -1;
	condition = 1;
	question = "I am going now.";
	text1 = "_Hssss ... Good day, envoy._";
	action = END_TALK;
	
// Khressia

begintalknode 275;
	state = -1;
	nextstate = 280;
	condition = 1;
	question = "Name";
	text1 = "There are two drakons muttering silently to each other in this alcove, well away from the rest of the fortress. When they see you, one of them steps forward. He looks annoyed.";
	text2 = "_I am Khressia, of the Conclave. I have no patience with spies and eavesdroppers. Leave us._";
	text5 = "Khressia the drakon is still muttering quietly to an ally. He is, once again, irritated to be interrupted.";
	action = INTRO;
	code =
		sf(60,10,1);
	break;
	
begintalknode 276;
	state = 280;
	nextstate = -1;
	condition = 1;
	question = "The Conclave?";
	text1 = "_I am one of the leadersss of Gazaki-Uss! Ghaldring is not the only one who rulesss here, whatever he pretendsss._";
	
begintalknode 277;
	state = 280;
	nextstate = -1;
	condition = 1;
	question = "I am trying to see Ghaldring.";
	text1 = "_Of course, the envoy bypasses us. Because Ghaldring is the only drakon who mattersss to the rest of the world. That will not continue forever._";

begintalknode 278;
	state = 280;
	nextstate = -1;
	condition = 1;
	question = "There is something I need to know.";
	text1 = "_Ahssss ... Go elsewhere. Now. I am done with you. Provoke me further, and you will pay._ The drakon turns away.";
	action = END_TALK;
	
//



//
